mirror of
https://github.com/troglobit/finit.git
synced 2026-10-21 11:29:42 +00:00
New cmdline options to control debug and progress/status
Modeled after systemd.show_status, currently without the 'auto' setting. - finit.debug[=bool] - finit.show_status[=bool] - finit.status_style[=old,classic,new,modern] Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
35e4e0d073
commit
70ca64a392
5 files changed
+74
-19
No files matched your search
@@ -55,7 +55,7 @@ void log_exit(void)
|
||||
else
|
||||
screen_init();
|
||||
|
||||
show_progress(1);
|
||||
enable_progress(1);
|
||||
}
|
||||
|
||||
void log_open(void)
|
||||
@@ -85,6 +85,7 @@ void log_debug(void)
|
||||
screen_init();
|
||||
}
|
||||
log_open();
|
||||
enable_progress(1);
|
||||
|
||||
logit(LOG_NOTICE, "Debug mode %s", debug ? "enabled" : "disabled");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user