On 05.11.2019 17:14, Phillip Wood wrote:
+ OPT_FILENAME(0, "pathspec-from-file", &pathspec_from_file,
+ N_("read pathspecs from file")),
+ OPT_BOOL(0, "pathspec-file-null", &pathspec_file_null,
+ N_("with --pathspec-from-file, pathspecs are
separated with NUL character")),
One thing I forgot to mention before is that if you're going to add
these options to a number of commands then maybe it is worth defining a
macro for each one in parse-options.h. There are a couple of examples of
this at the end of that file.
Thanks for the pointer!