malcontent-client: Implement --quiet for set subcommand

While not entirely quiet on error, the `set` subcommand is now quieter.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2019-06-11 15:01:08 +01:00
parent b14fa7b056
commit 4051a0292a
1 changed files with 2 additions and 1 deletions

View File

@ -265,7 +265,8 @@ def command_set(user, allow_user_installation=True,
__set_app_filter_or_error(user_id, app_filter, interactive) __set_app_filter_or_error(user_id, app_filter, interactive)
print('App filter for user {} set'.format(user_id)) if not quiet:
print('App filter for user {} set'.format(user_id))
def main(): def main():