Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(257)

Side by Side Diff: docs/CommandLine.rst

Issue 183273009: Prep for merging 3.4: Undo changes from 3.3 branch (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Retry Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « docs/CodeGenerator.rst ('k') | docs/LangRef.rst » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ============================== 1 ==============================
2 CommandLine 2.0 Library Manual 2 CommandLine 2.0 Library Manual
3 ============================== 3 ==============================
4 4
5 .. contents:: 5 .. contents::
6 :local: 6 :local:
7 7
8 Introduction 8 Introduction
9 ============ 9 ============
10 10
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 611
612 This program blah blah blah...** 612 This program blah blah blah...**
613 613
614 USAGE: compiler [options] <input file> 614 USAGE: compiler [options] <input file>
615 615
616 OPTIONS: 616 OPTIONS:
617 ... 617 ...
618 -help - display available options (-help-hidden for more) 618 -help - display available options (-help-hidden for more)
619 -o <filename> - Specify output filename 619 -o <filename> - Specify output filename
620 620
621 .. _grouping options into categories:
622
623 Grouping options into categories 621 Grouping options into categories
624 -------------------------------- 622 --------------------------------
625 623
626 If our program has a large number of options it may become difficult for users 624 If our program has a large number of options it may become difficult for users
627 of our tool to navigate the output of ``-help``. To alleviate this problem we 625 of our tool to navigate the output of ``-help``. To alleviate this problem we
628 can put our options into categories. This can be done by declaring option 626 can put our options into categories. This can be done by declaring option
629 categories (`cl::OptionCategory`_ objects) and then placing our options into 627 categories (`cl::OptionCategory`_ objects) and then placing our options into
630 these categories using the `cl::cat`_ option attribute. For example: 628 these categories using the `cl::cat`_ option attribute. For example:
631 629
632 .. code-block:: c++ 630 .. code-block:: c++
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 1731
1734 TODO: complete this section 1732 TODO: complete this section
1735 1733
1736 .. _dynamically loaded options: 1734 .. _dynamically loaded options:
1737 1735
1738 Dynamically adding command line options 1736 Dynamically adding command line options
1739 1737
1740 .. todo:: 1738 .. todo::
1741 1739
1742 TODO: fill in this section 1740 TODO: fill in this section
OLDNEW
« no previous file with comments | « docs/CodeGenerator.rst ('k') | docs/LangRef.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698