Skip to content

Commit fe37a35

Browse files
authored
Merge pull request #1364 from Bastian-Krause/bst/man-fixes
man/labgrid-client: fix/extend positional arguments
2 parents 86c8b1c + a2dedd0 commit fe37a35

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

man/labgrid-client.1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ matches anything.
157157
.sp
158158
\fBset\-comment\fP comment Update or set the place comment
159159
.sp
160-
\fBset\-tags\fP comment Set place tags (key=value)
160+
\fBset\-tags\fP key=value Set place tags (key=value)
161161
.sp
162162
\fBadd\-match\fP match Add one (or multiple) match pattern(s) to a place, see MATCHES
163163
.sp
@@ -185,9 +185,9 @@ not at all.
185185
.sp
186186
\fBpower (pw)\fP action Change (or get) a place\(aqs power status, where action is one of get, on, off, cycle
187187
.sp
188-
\fBio\fP action Interact with GPIO (OneWire, relays, ...) devices, where action is one of high, low, get
188+
\fBio\fP action [name] Interact with GPIO (OneWire, relays, ...) devices, where action is one of high, low, get
189189
.sp
190-
\fBconsole (con)\fP Connect to the console
190+
\fBconsole (con)\fP [name] Connect to the console
191191
.sp
192192
\fBdfu\fP arg Run dfu commands
193193
.sp
@@ -201,13 +201,13 @@ not at all.
201201
.sp
202202
\fBusb\-mux\fP action Switch USB Muxer, where action is one of off, dut\-device, host\-dut, host\-device, host\-dut+host\-device
203203
.sp
204-
\fBssh\fP Connect via SSH
204+
\fBssh\fP [command] Connect via SSH. Additional arguments are passed to ssh.
205205
.sp
206-
\fBscp\fP Transfer file via scp (use \(aq:dir/file\(aq for the remote side)
206+
\fBscp\fP source destination Transfer file via scp (use \(aq:dir/file\(aq for the remote side)
207207
.sp
208-
\fBrsync\fP Transfer files via rsync (use \(aq:dir/file\(aq for the remote side)
208+
\fBrsync\fP source destination Transfer files via rsync (use \(aq:dir/file\(aq for the remote side)
209209
.sp
210-
\fBsshfs\fP Mount a remote path via sshfs
210+
\fBsshfs\fP remotepath mountpoint Mount a remote path via sshfs
211211
.sp
212212
\fBforward\fP Forward local port to remote target
213213
.sp
@@ -221,7 +221,7 @@ not at all.
221221
.sp
222222
\fBwrite\-files\fP filename(s) Copy files onto mass storage device
223223
.sp
224-
\fBwrite\-image\fP Write images onto block devices (USBSDMux, USB Sticks, …)
224+
\fBwrite\-image\fP filename Write images onto block devices (USBSDMux, USB Sticks, …)
225225
.sp
226226
\fBreserve\fP filter Create a reservation
227227
.sp

man/labgrid-client.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ LABGRID-CLIENT COMMANDS
152152

153153
``set-comment`` comment Update or set the place comment
154154

155-
``set-tags`` comment Set place tags (key=value)
155+
``set-tags`` key=value Set place tags (key=value)
156156

157157
``add-match`` match Add one (or multiple) match pattern(s) to a place, see MATCHES
158158

@@ -177,9 +177,9 @@ LABGRID-CLIENT COMMANDS
177177

178178
``power (pw)`` action Change (or get) a place's power status, where action is one of get, on, off, cycle
179179

180-
``io`` action Interact with GPIO (OneWire, relays, ...) devices, where action is one of high, low, get
180+
``io`` action [name] Interact with GPIO (OneWire, relays, ...) devices, where action is one of high, low, get
181181

182-
``console (con)`` Connect to the console
182+
``console (con)`` [name] Connect to the console
183183

184184
``dfu`` arg Run dfu commands
185185

@@ -193,13 +193,13 @@ LABGRID-CLIENT COMMANDS
193193

194194
``usb-mux`` action Switch USB Muxer, where action is one of off, dut-device, host-dut, host-device, host-dut+host-device
195195

196-
``ssh`` Connect via SSH
196+
``ssh`` [command] Connect via SSH. Additional arguments are passed to ssh.
197197

198-
``scp`` Transfer file via scp (use ':dir/file' for the remote side)
198+
``scp`` source destination Transfer file via scp (use ':dir/file' for the remote side)
199199

200-
``rsync`` Transfer files via rsync (use ':dir/file' for the remote side)
200+
``rsync`` source destination Transfer files via rsync (use ':dir/file' for the remote side)
201201

202-
``sshfs`` Mount a remote path via sshfs
202+
``sshfs`` remotepath mountpoint Mount a remote path via sshfs
203203

204204
``forward`` Forward local port to remote target
205205

@@ -213,7 +213,7 @@ LABGRID-CLIENT COMMANDS
213213

214214
``write-files`` filename(s) Copy files onto mass storage device
215215

216-
``write-image`` Write images onto block devices (USBSDMux, USB Sticks, …)
216+
``write-image`` filename Write images onto block devices (USBSDMux, USB Sticks, …)
217217

218218
``reserve`` filter Create a reservation
219219

0 commit comments

Comments
 (0)