diff options
Diffstat (limited to 'Command.hs')
-rw-r--r-- | Command.hs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Command.hs b/Command.hs index 387f7b8b5..e8c434b9b 100644 --- a/Command.hs +++ b/Command.hs @@ -66,8 +66,11 @@ withParams mkseek paramdesc = mkseek <$> cmdParams paramdesc noCommit :: Command -> Command noCommit c = c { cmdnocommit = True } -{- Indicates that a command should not output anything other than what - - it directly sends to stdout. (--json can override this). -} +{- Indicates that a command should not output the usual messages when + - starting or stopping processing a file or other item. Unless --json mode + - is enabled, this also enables quiet output mode, so only things + - explicitly output by the command are shown and not progress messages + - etc. -} noMessages :: Command -> Command noMessages c = c { cmdnomessages = True } |