From 36bb1e785891be8156aaf3088d05988da7816377 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Wed, 22 May 2019 17:35:41 -0700 Subject: [PATCH] Mention that "-" is supported as a filename. (Fixes #1586) --- shellcheck.1.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shellcheck.1.md b/shellcheck.1.md index 6e24d8b..3b3498a 100644 --- a/shellcheck.1.md +++ b/shellcheck.1.md @@ -29,7 +29,6 @@ will warn that decimals are not supported. + For scripts starting with `#!/bin/ksh` (or using `-s ksh`), ShellCheck will not warn at all, as `ksh` supports decimals in arithmetic contexts. - # OPTIONS **-a**,\ **--check-sourced** @@ -113,6 +112,10 @@ not warn at all, as `ksh` supports decimals in arithmetic contexts. line (plus `/dev/null`). This option allows following any file the script may `source`. +**FILES...** + +: One or more script files to check, or "-" for standard input. + # FORMATS