gpg: Make show-sig-subpackets work again.
authorWerner Koch <wk@gnupg.org>
Tue, 30 Jun 2015 09:01:16 +0000 (11:01 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 30 Jun 2015 09:01:16 +0000 (11:01 +0200)
* g10/gpg.c (parse_list_options): Fix offset for subpackets.
--

Regression-due-to: 7d0492075ea638607309b3ea6a792b0e95ea7d98
GnuPG-bug-id: 2008
Signed-off-by: Werner Koch <wk@gnupg.org>
g10/gpg.c

index d446e36..10d8c20 100644 (file)
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -1876,7 +1876,7 @@ parse_list_options(char *str)
      compile everywhere, so fill in the show-sig-subpackets argument
      here.  Note that if the parse_options array changes, we'll have
      to change the subscript here. */
-  lopts[12].value=&subpackets;
+  lopts[13].value=&subpackets;
 
   if(parse_options(str,&opt.list_options,lopts,1))
     {