From 83b7cdebacc5aef430645c2a40543910bf756f4e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 6 Jun 2008 11:18:14 +0200 Subject: [PATCH] Reformat fsck.ggo and add more help text. --- fsck.ggo | 51 ++++++++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 23 deletions(-) diff --git a/fsck.ggo b/fsck.ggo index e863f04..edb608b 100644 --- a/fsck.ggo +++ b/fsck.ggo @@ -1,11 +1,13 @@ option "loglevel" l #~~~~~~~~~~~~~~~~~~ - -"set loglevel (0-6)" - - int typestr="level" - default="3" - optional +"Set loglevel (0-6)" +int typestr="level" +default="3" +optional +details=" + Log messages are always written to stderr while normal output + goes to stdout. Lower values mean more verbose logging. +" option "database-dir" d #~~~~~~~~~~~~~~~~~~~~~~ @@ -18,32 +20,35 @@ details=" to fix. " -option "dump_dir" D +option "dump-dir" D #~~~~~~~~~~~~~~~~~~ -"If path is non-empty, para_fsck will write a -dump of all given tables to the specified -path." - - string typestr="path" - optional - default="" +"Enable dump mode" +string typestr="path" +optional +default="" +details=" + If path is non-empty, oslfsck will write a dump of all + given tables to the specified path. +" option "no_fsck" n #~~~~~~~~~~~~~~~~~ "Disable fsck mode." - - flag off +flag off +details=" + This is mainly useful in conjunction with the --dump-dir + option. +" option "force" f #~~~~~~~~~~~~~~~ -"Force fsck even if the table is dirty. -Ignored if -n is given." - - flag off +"Enable force mode" +flag off +details=" + Ignore the dirty bit when opening osl tables. +" option "dry_run" - #~~~~~~~~~~~~~~~~~ "Only report problems, don't try to fix them." - - flag off - +flag off -- 2.39.2