Skip to content

Commit 9495e2e

Browse files
authored
clarify cidfile help string
1 parent f8a4ec4 commit 9495e2e

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

cwltool/main.py

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -84,27 +84,23 @@ def arg_parser(): # type: () -> argparse.ArgumentParser
8484
default=True, help="Do not delete Docker container used by jobs after they exit",
8585
dest="rm_container")
8686

87-
group = parser.add_argument_group("options for docker container ID file",
88-
"These options determine whether docker"
89-
"write container ID to a file (cidfile) "
90-
"when a container is created, where it "
91-
"should be placed and how it should be named.")
92-
group.add_argument("--record-container-id", action="store_true",
87+
cidgroup = parser.add_argument_group("Options for recording the Docker container identifier into a file")
88+
cidgroup.add_argument("--record-container-id", action="store_true",
9389
default=False,
94-
help="If enabled, store the container ID file under the "
95-
"directory specified by --cidfile-dir",
90+
help="If enabled, store the container ID file. "
91+
"See --cidfile-dir to specify the directory.",
9692
dest="record_container_id")
9793

98-
group.add_argument("--cidfile-dir", type=Text,
94+
cidgroup.add_argument("--cidfile-dir", type=Text,
9995
help="Directory for storing the container ID file. "
100-
"Default at current directory",
96+
"The default is current directory",
10197
default="",
10298
dest="cidfile_dir")
10399

104-
group.add_argument("--cidfile-prefix", type=Text,
105-
help="Specify a prefix to the container ID file. "
100+
cidgroup.add_argument("--cidfile-prefix", type=Text,
101+
help="Specify a prefix to the container ID filename. "
106102
"Final file name will be followed by a timestamp. "
107-
"Default \"\"",
103+
"The default is no prefix.",
108104
default="",
109105
dest="cidfile_prefix")
110106

0 commit comments

Comments
 (0)