mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-19 14:22:18 -04:00
config: Default to --list
When no option is specified, just do the reasonable thing. Closes: #2203 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
3a96ac4d71
commit
c269460ef9
@@ -212,6 +212,9 @@ flatpak_builtin_config (int argc, char **argv, GCancellable *cancellable, GError
|
||||
|
||||
dir = g_ptr_array_index (dirs, 0);
|
||||
|
||||
if (!opt_get && !opt_set && !opt_unset && !opt_list)
|
||||
opt_list = TRUE;
|
||||
|
||||
if (opt_get)
|
||||
return get_config (argc, argv, dir, cancellable, error);
|
||||
else if (opt_set)
|
||||
|
||||
Reference in New Issue
Block a user