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:
parent
b14fa7b056
commit
4051a0292a
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue