-
Notifications
You must be signed in to change notification settings - Fork 430
Add search indices for compiler flags #27452
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
Conversation
Generated with copilot Signed-off-by: Ben Harshbarger <ben.harshb@gmail.com>
Generated with copilot Signed-off-by: Ben Harshbarger <ben.harshb@gmail.com>
Signed-off-by: Ben Harshbarger <ben.harshb@gmail.com>
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 great! Its really nice to be able to search flags.
I also commented on all of the single letter flags, which aren't included. Was that intentional or an oversight.
@@ -630,6 +699,7 @@ OPTIONS | |||
compiler. | |||
|
|||
.. _man-debug: | |||
.. index:: --debug, --no-debug |
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 should also have -g
|
||
**\--copyright** | ||
|
||
Print the compiler's copyright information. | ||
|
||
.. _man-help: | ||
.. index:: --help |
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 should also have -h
@@ -648,6 +719,7 @@ OPTIONS | |||
default. | |||
|
|||
.. _man-hdr-search-path: | |||
.. index:: --hdr-search-path |
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 should also have -I
@@ -667,13 +740,15 @@ OPTIONS | |||
forwarded to the C compiler. | |||
|
|||
.. _man-lib-linkage: | |||
.. index:: --lib-linkage |
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 should also have -l
|
||
**-l, \--lib-linkage <library>** | ||
|
||
Specify a C library to link to on the back-end C compiler command | ||
line. | ||
|
||
.. _man-lib-search-path: | ||
.. index:: --lib-search-path |
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 should also have -L
@@ -74,6 +76,7 @@ OPTIONS | |||
point for program execution. | |||
|
|||
.. _man-module-dir: | |||
.. index:: --module-dir |
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 should also have -M
@@ -684,6 +759,7 @@ OPTIONS | |||
directories. | |||
|
|||
.. _man-optimize: | |||
.. index:: --optimize, --no-optimize |
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 should also have -O
|
||
**\--[no-]print-unused-functions** | ||
|
||
Print the names and source locations of unused functions within the | ||
user program. | ||
|
||
.. _man-set: | ||
.. index:: --set |
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 should also have -s
Signed-off-by: Ben Harshbarger <ben.harshb@gmail.com>
This PR adds
index
directives to each compiler flag in the man page so that we can search for them.Generated with copilot.
Resolves #27340
Testing: