Skip to content

Commit

Permalink
docs: update the help
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Mar 7, 2024
1 parent 337366f commit 1c148d9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,16 @@ Cog is a command-line utility which takes arguments in standard form.
$ cog -h
cog - generate content with inlined Python code.
cog [OPTIONS] [INFILE | @FILELIST] ...
cog [OPTIONS] [INFILE | @FILELIST | &FILELIST] ...
INFILE is the name of an input file, '-' will read from stdin.
FILELIST is the name of a text file containing file names or
other @FILELISTs.
For @FILELIST, paths in the file list are relative to the working
directory where cog was called. For &FILELIST, paths in the file
list are relative to the file list location.
OPTIONS:
-c Checksum the output to protect it against accidental change.
-d Delete the generator code from the output file.
Expand Down Expand Up @@ -61,7 +65,7 @@ Cog is a command-line utility which takes arguments in standard form.
1 lists only changed files, 0 lists no files.
-h Print this help.
.. {{{end}}} (checksum: 0cb9cb7256c59fe7a433df17ce8669fa)
.. {{{end}}} (checksum: 159e7d7aebb9dcc98f250d47879703dd)
In addition to running cog as a command on the command line, you can also
invoke it as a module with the Python interpreter:
Expand Down

0 comments on commit 1c148d9

Please sign in to comment.