summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorerkin <e.altunbas@vyos.io>2021-06-23 11:57:31 +0300
committererkin <e.altunbas@vyos.io>2021-06-23 11:57:31 +0300
commit562a122531315ecb35dc45cb5671e1e67221b936 (patch)
treec7b0a4969757abc7022cd1918f4cdf86c5be346d /scripts
parent6d2c8fa45818eaac90c1dd46f2cd2bb2f4854140 (diff)
downloadvyatta-cfg-system-562a122531315ecb35dc45cb5671e1e67221b936.tar.gz
vyatta-cfg-system-562a122531315ecb35dc45cb5671e1e67221b936.zip
T3506: Clarify deprecation notice
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-load-user-key.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/vyatta-load-user-key.pl b/scripts/vyatta-load-user-key.pl
index 3896ca56..6e62335f 100755
--- a/scripts/vyatta-load-user-key.pl
+++ b/scripts/vyatta-load-user-key.pl
@@ -157,7 +157,9 @@ sub getkeys {
}
}
-print "Warning: `loadkey' command has been deprecated.\nUse `generate public-key-command' instead.\n";
+print "Warning: `loadkey' command has been deprecated and will be removed in a future version.\n";
+print "Instead, use the op-mode command `generate public-key-command' to generate commands for manual addition:\n";
+print "$ generate public-key-command name <username> path <path-or-url>\n\n";
die "Incorrect number of arguments, expect\n",
" loadkey user filename|url\n"