summaryrefslogtreecommitdiff
path: root/quota_nld.c
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2007-06-18 13:35:47 +0000
committerjkar8572 <jkar8572>2007-06-18 13:35:47 +0000
commitbfc86b14707699dfd08bde0a5c957f6a69854978 (patch)
treee24f9dfdb0770658e0cc04806fc3f3b7b2f35f3c /quota_nld.c
parent1a9e48b4f8747e9aa7357631afc35c6a0cefdd6f (diff)
Updated changelog.
Added manpage for quota_nld.
Diffstat (limited to 'quota_nld.c')
-rw-r--r--quota_nld.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/quota_nld.c b/quota_nld.c
index 827833c..e730f4d 100644
--- a/quota_nld.c
+++ b/quota_nld.c
@@ -41,7 +41,7 @@ static const struct option options[] = {
{ "help", 0, NULL, 'h' },
{ "no-dbus", 0, NULL, 'D' },
{ "no-console", 0, NULL, 'C' },
- { "no-daemon", 0, NULL, 'n' },
+ { "no-daemon", 0, NULL, 'F' },
{ NULL, 0, NULL, 0 }
};
@@ -95,14 +95,14 @@ void show_help(void)
-V --version shows version information\n\
-C --no-console do not try to write messages to console\n\
-D --no-dbus do not try to write messages to DBUS\n\
- -n --no-daemon do not detach from tty\n"), progname);
+ -F --foreground run daemon in foreground\n"), progname);
}
static void parse_options(int argc, char **argv)
{
int opt;
- while ((opt = getopt_long(argc, argv, "VhDCn", options, NULL)) >= 0) {
+ while ((opt = getopt_long(argc, argv, "VhDCF", options, NULL)) >= 0) {
switch (opt) {
case 'V':
version();
@@ -116,7 +116,7 @@ static void parse_options(int argc, char **argv)
case 'C':
flags |= FL_NOCONSOLE;
break;
- case 'n':
+ case 'F':
flags |= FL_NODAEMON;
break;
default: