This website requires JavaScript.
Explore
Help
Register
Sign In
luke
/
magic
mirror of
https://github.com/RTimothyEdwards/magic.git
Watch
1
Star
0
Fork
You've already forked magic
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
0013dda92d
magic
/
VERSION
2 lines
8 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 14:30:32 +02:00
8.3.643