force is default now (overwrite the backup file)
authorHeiko Schlittermann <hs@schlittermann.de>
Wed, 12 Aug 2015 23:01:42 +0200
changeset 60 e4c6e4caaedb
parent 59 342ba69779b8
child 61 ba53efaf0fab
force is default now (overwrite the backup file)
update-schlittermann-ssh-keys.pl
--- a/update-schlittermann-ssh-keys.pl	Wed Aug 12 20:35:41 2015 +0200
+++ b/update-schlittermann-ssh-keys.pl	Wed Aug 12 23:01:42 2015 +0200
@@ -18,7 +18,7 @@
 my $opt_help      = 0;
 my $opt_man       = 0;
 my $opt_keys_dir  = "/usr/share/schlittermann-ssh-keys";
-my $opt_force     = 0;
+my $opt_force     = 1;
 
 my $SSHD_CONF       = "/etc/ssh/sshd_config";
 my $KEYS_DIR        = undef;                              # set later
@@ -156,7 +156,7 @@
    -u, --update		update the authorized_keys file
    -h, --help		display this help and exit
    -m, --man		display full documentation
-   -f, --force		overwriting backup file
+   -f, --force		overwriting backup file (default: force)
    --keys-dir		the default keys
 
 =head1 DESCRIPION
@@ -180,7 +180,7 @@
 
 =item B<-f, --force>
 
-force some actions (e.g. overwriting backup file) (default: 0)
+force some actions (e.g. overwriting backup file) (default: ON)
 
 =item B<--keys-dir> I<dir>