@@ -74,50 +74,57 @@ def _parse_arguments(self) -> argparse.Namespace:
74
74
"--sync" ,
75
75
dest = "only_sync" ,
76
76
action = "store_true" ,
77
- help = "Only synchronize (copy) files from you to the target machine" ,
77
+ help = "Only synchronize (copy) files from you to the target machine. " ,
78
78
)
79
79
parser .add_argument (
80
80
"-i" ,
81
81
"--install" ,
82
82
dest = "only_install" ,
83
83
action = "store_true" ,
84
- help = "Only install ROS dependencies on the target " ,
84
+ help = "Only install ROS dependencies on the targets. " ,
85
85
)
86
86
parser .add_argument (
87
- "-c" , "--configure" , dest = "only_configure" , action = "store_true" , help = "Only configure the target machine "
87
+ "-c" , "--configure" , dest = "only_configure" , action = "store_true" , help = "Only configure the target machines. "
88
88
)
89
89
parser .add_argument (
90
- "-b" , "--build" , dest = "only_build" , action = "store_true" , help = "Only build on the target machine "
90
+ "-b" , "--build" , dest = "only_build" , action = "store_true" , help = "Only build/compile on the target machines. "
91
91
)
92
92
parser .add_argument (
93
93
"-l" ,
94
94
"--launch" ,
95
95
dest = "only_launch" ,
96
96
action = "store_true" ,
97
- help = "Only launch teamplayer software on the target " ,
97
+ help = "Only launch teamplayer software on the targets. " ,
98
98
)
99
99
100
100
# Optional arguments
101
- parser .add_argument ("-p" , "--package" , default = "" , help = "Synchronize and build only the given ROS package" )
101
+ parser .add_argument ("-p" , "--package" , default = "" , help = "Synchronize and build only the given ROS package. " )
102
102
parser .add_argument (
103
103
"--clean" ,
104
104
action = "store_true" ,
105
- help = "Clean complete workspace (source and install, ...) before syncing and building" ,
105
+ help = "Clean complete workspace (source and install, ...) before syncing and building. " ,
106
106
)
107
- parser .add_argument ("--clean-src" , action = "store_true" , help = "Clean source directory before syncing" )
107
+ parser .add_argument ("--clean-src" , action = "store_true" , help = "Clean source directory before syncing. " )
108
108
parser .add_argument (
109
109
"--clean-build" ,
110
110
action = "store_true" ,
111
- help = "Clean workspace before building. If --package is given, clean only that package" ,
111
+ help = "Clean workspace before building. If --package is given, clean only that package. " ,
112
112
)
113
113
parser .add_argument ("--connection-timeout" , default = 10 , help = "Timeout to establish SSH connections in seconds." )
114
114
parser .add_argument (
115
- "--print-bit-bot" , action = "store_true" , default = False , help = "Print our logo at script start"
115
+ "--print-bit-bot" , action = "store_true" , default = False , help = "Print our logo at script start."
116
+ )
117
+ parser .add_argument ("-v" , "--verbose" , action = "count" , default = 0 , help = "More output." )
118
+ parser .add_argument ("-q" , "--quiet" , action = "count" , default = 0 , help = "Less output." )
119
+ parser .add_argument (
120
+ "-u" , "--user" , default = "bitbots" , help = "The SSH user to connect to the target machines with"
121
+ )
122
+ parser .add_argument (
123
+ "-w" ,
124
+ "--workspace" ,
125
+ default = "~/colcon_ws" ,
126
+ help = "Path to the workspace directory to deploy to. Defaults to '~/colcon_ws'" ,
116
127
)
117
- parser .add_argument ("-v" , "--verbose" , action = "count" , default = 0 , help = "More output" )
118
- parser .add_argument ("-q" , "--quiet" , action = "count" , default = 0 , help = "Less output" )
119
- parser .add_argument ("-u" , "--user" , default = "bitbots" , help = "The user to connect to the target machines with" )
120
- parser .add_argument ("-w" , "--workspace" , default = "~/colcon_ws" , help = "The workspace to deploy to" )
121
128
122
129
args = parser .parse_args ()
123
130
0 commit comments