]> git.donarmstrong.com Git - debbugs.git/commitdiff
add skip-missing argument to learn
authorDon Armstrong <don@donarmstrong.com>
Fri, 15 Dec 2017 21:52:45 +0000 (13:52 -0800)
committerDon Armstrong <don@donarmstrong.com>
Fri, 15 Dec 2017 21:52:45 +0000 (13:52 -0800)
bin/debbugs-spam

index bf130af1dfd92917ded5cfab4f08bd9068fe3210..d8abcc6780abe12feb2eae479eb3e4b7279e4c72 100755 (executable)
@@ -139,6 +139,10 @@ my %subcommands =
      'mark-ham' => {function => \&mark_ham,
                    },
      'learn' => {function => \&learn,
+                 arguments => {'skip_missing|skip-missing!' => 0,
+                              },
+                 defaults => {skip_missing => 0,
+                             },
                 },
      'help' => {function => sub {pod2usage({verbose => 2});}}
     );