]> err.no Git - yubikey-personalization/commitdiff
indentation.
authorKlas Lindfors <klas@yubico.com>
Wed, 11 Apr 2012 08:42:52 +0000 (10:42 +0200)
committerKlas Lindfors <klas@yubico.com>
Wed, 11 Apr 2012 08:42:52 +0000 (10:42 +0200)
ykpers-args.c

index f2053d02c08a6dea04114a32db66efdbce64f524..1e7e25ec9664046db6ce365beb649fbf9fa597af 100644 (file)
@@ -45,7 +45,7 @@
 const char *usage =
 "Usage: ykpersonalize [options]\n"
 "-u        update configuration without overwriting.  This is only available\n"
-"          in YubiKey 2.3 and later. EXTFLAG_ALLOW_UPDATE will be set by\n"
+"          in YubiKey 2.3 and later.  EXTFLAG_ALLOW_UPDATE will be set by\n"
 "          default\n"
 "-1        change the first configuration.  This is the default and\n"
 "          is normally used for true OTP generation.\n"
@@ -299,14 +299,14 @@ int args_to_config(int argc, char **argv, YKP_CONFIG *cfg,
                switch (c) {
                case 'u':
                        if(slot_chosen) {
-                         fprintf(stderr, "You must use update before slot (-1 / -2).\n");
-                         *exit_code = 1;
-                         return 0;
+                               fprintf(stderr, "You must use update before slot (-1 / -2).\n");
+                               *exit_code = 1;
+                               return 0;
                        }
                        if(swap_seen) {
-                         fprintf(stderr, "Update (-u) and swap (-x) can't be combined.\n");
-                         *exit_code = 1;
-                         return 0;
+                               fprintf(stderr, "Update (-u) and swap (-x) can't be combined.\n");
+                               *exit_code = 1;
+                               return 0;
                        }
                        update_seen = true;
                        break;