From: Klas Lindfors Date: Wed, 11 Apr 2012 08:42:52 +0000 (+0200) Subject: indentation. X-Git-Tag: v1.7.0~1^2~38^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49ddf8cea56a250e88aca0ca7349f37b6e102cce;p=yubikey-personalization indentation. --- diff --git a/ykpers-args.c b/ykpers-args.c index f2053d0..1e7e25e 100644 --- a/ykpers-args.c +++ b/ykpers-args.c @@ -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;