summaryrefslogtreecommitdiff
path: root/src/options.ggo.in
blob: 0f003ea7349889260b743a39f6a88e615ff03e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package "cssh"
version "@CSSH_VERSION@"
usage "cssh [options] [user@][hostname] [command]"
description "Execute a command on a set of machines"		

section "Main Options"
	option "long-version" -
		"Full version and credentials"
		optional

	option "verbose" v
		"Increase verbosity level (option can be given many times)"
		optional multiple

	option "login" l
		"Login user (default: current user)"
		string typestr="login_name"
		optional

	option "port" p
		"Port to use for SSH (default: 22)"
		int typestr="port"
		optional
		
	option "hosts-file" H
		"List of hosts to use in parallel \
(listed one per line in a file), optionally \
you can specify a port immediatelly after a colon \
after the hostname. Example 'user@host:port'"
		string typestr="hosts-file"
		optional

section "SSH options"

	option "tagging" -
		"Enable tagging of each line with the name of the host"
		optional
		
section "SCP options"

	option "recursive" r
		"Copy files and directories recursively"
		optional

	option "progress-bar" P
		"Show progress bars during copy"
		optional