-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshanty_help.h
104 lines (104 loc) · 4.51 KB
/
shanty_help.h
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
const char* usage_text =
"Usage:\n"
" shanty [OPTION...]\n"
"\n"
"Help options\n"
" -h, --help Show help options\n"
"\n"
"General options\n"
" --title=TITLE Set the dialog title\n"
" --width=WIDTH Set the width\n"
" --height=HEIGHT Set the height\n"
" --timeout=TIMEOUT Set dialog timeout in seconds\n"
" --window-icon=ICON_PATH Set the icon that is displayed in the window frame of the dialog (vector icons only). You can use 4 stock icons: 'info', 'warning', 'question' and 'error'\n"
"\n"
"Calendar options\n"
" --calendar Display calendar dialog\n"
" --text=TEXT Set the dialog text\n"
" --day=DAY Set the calendar day\n"
" --month=MONTH Set the calendar month\n"
" --year=YEAR Set the calendar year\n"
" --date-format=PATTERN Set the format for the returned date\n"
"\n"
"Color selection options\n"
" --color-selection Display color selection dialog\n"
" --color=COLOR Set initial color (ex: #ababab)\n"
"\n"
"Text entry options\n"
" --entry Display text entry dialog\n"
" --text=TEXT Set the dialog text\n"
" --entry-text=TEXT Set the entry text\n"
" --hide-text Hide the entry text\n"
"\n"
"Error options\n"
" --error Display error dialog\n"
" --text=TEXT Set the dialog text\n"
"\n"
"Info options\n"
" --info Display info dialog\n"
" --text=TEXT Set the dialog text\n"
"\n"
"File selection options\n"
" --file-selection Display file selection dialog\n"
" --filename=FILENAME Set the filename\n"
" --multiple Allow multiple files to be selected\n"
" --directory Activate directory-only selection\n"
" --save Activate save mode\n"
" --separator=SEPARATOR Set output separator character\n"
"\n"
"List options\n"
" --list Display list dialog\n"
" --text=TEXT Set the dialog text\n"
" --column=COLUMN Set the column header\n"
" --checklist Use check boxes for first column\n"
" --radiolist Use radio buttons for first column\n"
" --separator=SEPARATOR Set output separator character\n"
" --multiple Allow multiple rows to be selected\n"
" --editable Allow changes to text\n"
" --print-column=NUMBER Print a specific column (Default is 1. 'ALL' can be used to print all columns)\n"
" --hide-column=NUMBER Hide a specific column\n"
"\n"
"Notification icon options\n"
" --notification Display notification\n"
" --text=TEXT Set the notification text\n"
" --listen Listen for commands on stdin\n"
"\n"
"Progress options\n"
" --progress Display progress indication dialog\n"
" --text=TEXT Set the dialog text\n"
" --percentage=PERCENTAGE Set initial percentage\n"
" --pulsate Pulsate progress bar\n"
" --auto-close Dismiss the dialog when 100%% has been reached\n"
" --auto-kill Kill parent process if cancel button is pressed\n"
" --no-cancel Hide the Cancel button\n"
"\n"
"Question options\n"
" --question Display question dialog\n"
" --text=TEXT Set the dialog text\n"
" --ok-label=TEXT Set the label of the Ok button\n"
" --cancel-label=TEXT Set the label of the Cancel button\n"
"\n"
"Warning options\n"
" --warning Display warning dialog\n"
" --text=TEXT Set the dialog text\n"
"\n"
"Scale options\n"
" --scale Display scale dialog\n"
" --text=TEXT Set the dialog text\n"
" --value=VALUE Set initial value\n"
" --min-value=VALUE Set minimum value\n"
" --max-value=VALUE Set maximum value\n"
" --step=VALUE Set step size\n"
" --print-partial Print partial values\n"
" --hide-value Hide value\n"
"\n"
"Text information options\n"
" --text-info Display text information dialog\n"
" --filename=FILENAME Open file\n"
" --editable Allow changes to text\n"
" --fixed-font Use fixed font\n"
"\n"
"Miscellaneous options\n"
" --about About shanty\n"
" --version Print version\n"
"\n";