Files
watsch/README.md
2026-01-22 23:08:28 +01:00

1.1 KiB

watsch

watsch is a watch alternative

Usage: watsch [options] [--] <program> <args...>
Options:
  -c, --concat
        Print program output directly without clearing the screen or resetting the cursor position
  -f, --fast, --force
        After <program> exits, immediately start it again (same as setting all timing options to zero, currently -i 0 -d 0)
  -i, --interval    (seconds, default: 1, value: numbers >= 0)
        Minimum wait time after <program> is started before starting it again
  -d, --delay       (seconds, default: 0.1, value: numbers >= 0)
        Minimum wait time after <program> exits before starting it again
  -x, --fail, --exit
        Fail if an error occurs (--fail-exec --fail-with)
      --fail-exec
        Fail if <program> can't be executed (exit with nonzero exit code instead of retrying)
      --fail-with
        Fail if <program> fails (exit with <program>'s exit code if it is nonzero)
Notes:
  An option's effect may be partially or entirely negated by options specified after it.
  This program should prevent flickering by using synchronized updates,
  but only some terminals and multiplexers seem to implement this.