@@ -84,27 +84,23 @@ def arg_parser(): # type: () -> argparse.ArgumentParser
84
84
default = True , help = "Do not delete Docker container used by jobs after they exit" ,
85
85
dest = "rm_container" )
86
86
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" ,
93
89
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. " ,
96
92
dest = "record_container_id" )
97
93
98
- group .add_argument ("--cidfile-dir" , type = Text ,
94
+ cidgroup .add_argument ("--cidfile-dir" , type = Text ,
99
95
help = "Directory for storing the container ID file. "
100
- "Default at current directory" ,
96
+ "The default is current directory" ,
101
97
default = "" ,
102
98
dest = "cidfile_dir" )
103
99
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 . "
106
102
"Final file name will be followed by a timestamp. "
107
- "Default \" \" " ,
103
+ "The default is no prefix. " ,
108
104
default = "" ,
109
105
dest = "cidfile_prefix" )
110
106
0 commit comments