Files
magic/utils
R. Timothy Edwards 0013dda92d Response to issue #513 in the github issue tracker: The command-
line parser does not recognize arguments that are both in the
same word and also space separated;  this is easy to do from, e.g.,
a python interpreter by setting an option as a single string as
in "-d null";  it is harder to do from the command line, but can
be done with quotes, as in 'magic "-d null"'.

The utils/args.c routine parses this with ArgStr(), which recognizes
two cases, one in which the option is split across two arguments,
and one in which the option is one word without space separation.

I modified ArgStr() to accept a third syntax in which the option
is in a single argument but is also space-separated.  This simply
detects a space in the third character position and moves forward
to the next non-space character and returns that position.
2026-05-13 08:30:32 -04:00
..
2025-01-06 16:14:34 +00:00
2025-01-06 16:14:34 +00:00
2024-12-26 15:20:58 -05:00
2026-03-26 09:21:18 -04:00
2025-01-06 16:14:34 +00:00
2025-01-06 16:14:34 +00:00
2025-01-06 16:14:34 +00:00