-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add command line option --print-gaproot
#4465
Conversation
Note that the list of command line options in the GAP Reference Manual (Section "Command Line Options") does not contain several of the options that have been added recently. More precisely, this list does not mention options with "long form" that start with `--`, and does not list any of these options. Should we extend the list in the manual, or should we perhaps better refer to the list printed by the `-h` (or `--help`) option? resolves gap-system#4448
The issue of documenting the long form command line options was raised in #4197. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me except I'd print the result to stdout, not stderr, as it is expected output, not an error.
The test failure is not caused by this PR and hopefully PR #4468 will fix it.
- write `--print-gaproot` output to `*stdout*` not to `*errout*` - write an error message if `--print-gaproot` fails
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works for me, and the --help
text appears nicely.
--print-gaproot
--print-gaproot
Note that the list of command line options in the GAP Reference Manual (Section "Command Line Options") does not contain several of the options that have been added recently.
More precisely, this list does not mention options with "long form" that start with
--
, and does not list any of these options.Should we extend the list in the manual, or should we perhaps better refer to the list printed by the
-h
(or--help
) option?resolves #4448