summaryrefslogtreecommitdiffstats
path: root/source/rofi.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-09-04 16:46:06 +0200
committerDave Davenport <qball@gmpclient.org>2017-09-04 16:46:06 +0200
commit73827ce680ade02912abfd9408ce16476a28c796 (patch)
treef528ecaab6a11359ce74f2fd9f3c7828af44e15f /source/rofi.c
parent2d586a47df6cd3df2de4ba055b6cd7cdcc97d58f (diff)
Only dump configuration changes, not theme in `-dump-config`.
Diffstat (limited to 'source/rofi.c')
-rw-r--r--source/rofi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/rofi.c b/source/rofi.c
index fda23e4c..6ce618fa 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -267,7 +267,7 @@ static void print_main_application_options ( int is_term )
print_help_msg ( "-show", "[mode]", "Show the mode 'mode' and exit. The mode has to be enabled.", NULL, is_term );
print_help_msg ( "-no-lazy-grab", "", "Disable lazy grab that, when fail to grab keyboard, does not block but retry later.", NULL, is_term );
print_help_msg ( "-no-plugins", "", "Disable loading of external plugins.", NULL, is_term );
- print_help_msg ( "-dump-config", "", "Dump the current configuration and theme in rasi format and exit.", NULL, is_term );
+ print_help_msg ( "-dump-config", "", "Dump the current configuration in rasi format and exit.", NULL, is_term );
print_help_msg ( "-dump-theme", "", "Dump the current theme in rasi format and exit.", NULL, is_term );
}
static void help ( G_GNUC_UNUSED int argc, char **argv )
@@ -909,8 +909,7 @@ int main ( int argc, char *argv[] )
return EXIT_SUCCESS;
}
if ( find_arg ( "-dump-config" ) >= 0 ) {
- config_parse_dump_config_rasi_format ( );
- rofi_theme_print ( rofi_theme );
+ config_parse_dump_config_rasi_format ( TRUE );
cleanup ();
return EXIT_SUCCESS;
}