aboutsummaryrefslogtreecommitdiffstats
path: root/g10
diff options
context:
space:
mode:
Diffstat (limited to 'g10')
-rw-r--r--g10/ChangeLog4
-rw-r--r--g10/gpg.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/g10/ChangeLog b/g10/ChangeLog
index 22d239715..979a681be 100644
--- a/g10/ChangeLog
+++ b/g10/ChangeLog
@@ -1,5 +1,9 @@
2008-12-09 Werner Koch <[email protected]>
+ * gpg.c (main) [IS_DEVELOPMENT_VERSION]: Fix strusage use.
+
+2008-12-09 Werner Koch <[email protected]>
+
* keygen.c (proc_parameter_file): Check that key and subkey usages
are allowed.
diff --git a/g10/gpg.c b/g10/gpg.c
index 9af97fb16..4e72b87e6 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2936,15 +2936,15 @@ main (int argc, char **argv)
fprintf(stderr, "%s\n", strusage(15) );
}
#ifdef IS_DEVELOPMENT_VERSION
- if( !opt.batch )
+ if (!opt.batch)
{
const char *s;
- if((s=strusage(20)))
+ if((s=strusage(25)))
log_info("%s\n",s);
- if((s=strusage(21)))
+ if((s=strusage(26)))
log_info("%s\n",s);
- if((s=strusage(22)))
+ if((s=strusage(27)))
log_info("%s\n",s);
}
#endif