Re-enable --regex. Forgot to add the callback.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-08-08 10:13:49 +02:00
parent 7143e09901
commit d946d25a5b
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,8 @@ void App::defineOptions(OptionSet& options)
.argument("expression")
.callback(OptionCallback<App>(this, &App::handle_options)));
options.addOption(
Option("regex", "r", "Use regular expression for search."));
Option("regex", "r", "Use regular expression for search.")
.callback(OptionCallback<App>(this, &App::handle_options)));
options.addOption(
Option("no-archive", "N", "Do not archive URI.")
.callback(OptionCallback<App>(this, &App::handle_options)));