diff options
Diffstat (limited to 'src/biruda.c')
-rw-r--r-- | src/biruda.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/biruda.c b/src/biruda.c index 7c0f1b4..788bc13 100644 --- a/src/biruda.c +++ b/src/biruda.c @@ -335,10 +335,15 @@ int main( int argc, char *argv[] ) { struct gengetopt_args_info args_info; cfg_t *cfg = NULL; - + if( parse_options_and_arguments( argc, argv, &args_info ) ) { exit( EXIT_FAILURE ); } + + if( args_info.guess_env_given ) { + print_guessed_env( args_info.human_readable_given ); + exit( EXIT_SUCCESS ); + } if( !( args_info.cli_given || args_info.filename_given ) || args_info.config_file_given ) { if( read_config( args_info.config_file_given ? |