Re-enable --regex. Forgot to add the callback.
All checks were successful
continuous-integration/drone/push Build is passing

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

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)));