summaryrefslogtreecommitdiff
path: root/oslfsck.suite
blob: a58e54fd2e92088f5cb46adc58631d2fc641bd18 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[suite oslfsck]
[supercommand oslfsck]
	purpose = check and repair the tables of an osl database
	non-opts-name = [table]...
	[description]
		oslfsck tries to recover the tables of an osl database after a crash
		which potentially leaves the database in an inconsistent state.
	[/description]
	[option help]
		summary = print help and exit
		short_opt = h
	[option detailed-help]
		summary = print help, including all details, and exit
	[option version]
		summary = print version and exit
		short_opt = V
	[option loglevel]
		short_opt = l
		summary = set loglevel (0-6)
		arg_info = required_arg
		arg_type = uint32
		typestr = severity
		default_val = 3
		[help]
			Log messages are always written to stderr while normal output goes
			to stdout. Lower values mean more verbose logging.
		[/help]
	[option database-dir]
		short_opt = d
		summary = full path to the database directory
		arg_info = required_arg
		arg_type = string
		typestr = path
		[help]
			Unless non-option arguments are given, all subdirectories of <path>
			are considered osl tables which oslfsck will try to fix.
		[/help]
	[option dump-dir]
		short_opt = D
		summary = enable dump mode
		arg_info = required_arg
		arg_type = string
		typestr = path
		[help]
			If path is non-empty, oslfsck will write a dump of all given tables
			to the specified path.
		[/help]
	[option no-fsck]
		short_opt = n
		summary = disable fsck mode
		[help]
			This is mainly useful in conjunction with the --dump-dir option.
		[/help]
	[option force]
		short_opt = f
		summary = enable force mode
		[help]
			Ignore the dirty bit when opening osl tables.
		[/help]
	[option dry-run]
		summary = only report problems, don't try to fix them