[Pkg-haskell-commits] darcs: shellcheck: Add manpage

Joachim Breitner mail at joachim-breitner.de
Tue Jun 24 01:03:19 UTC 2014


Tue Jun 24 01:02:27 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Add manpage

    A ./manpages
    A ./shellcheck.1

Tue Jun 24 01:02:27 UTC 2014  Joachim Breitner <mail at joachim-breitner.de>
  * Add manpage
diff -rN -u old-shellcheck/manpages new-shellcheck/manpages
--- old-shellcheck/manpages	1970-01-01 00:00:00.000000000 +0000
+++ new-shellcheck/manpages	2014-06-24 01:03:19.517278244 +0000
@@ -0,0 +1 @@
+shellcheck.1
diff -rN -u old-shellcheck/shellcheck.1 new-shellcheck/shellcheck.1
--- old-shellcheck/shellcheck.1	1970-01-01 00:00:00.000000000 +0000
+++ new-shellcheck/shellcheck.1	2014-06-24 01:03:19.517278244 +0000
@@ -0,0 +1,35 @@
+.TH SHELLCHECK 1 "23 JUNE 2014"
+.SH NAME
+shellcheck \- analyse shell scripts
+.SH SYNOPSIS
+\fBshellcheck\fP [ \-f \fIformat\fP ] [ \-e \fIcode\fP ] [ \-s \fIshell\fP ] \fIfiles\fP
+.SH DESCRIPTION
+\fBshellcheck\fP syntactically analyzes shell scripts and points out typical issues.
+Among other things, it is able to spot wrong usage of unicode characters, non-matching parentheses, wrong spacing, usage of features unavailable to the selected shell, corner cases with respect to quoting, needlessly complex snippets and unused variables.
+The analysis does not actually execute any shell commands.
+.SH OPTIONS
+.TP
+\fB\-f\fP \fIformat\fP, \fB\-\-format\fP \fIformat\fP
+Select the format used for printing diagnostics.
+Available formats are \fBcheckstyle\fP (XML based format), \fBgcc\fP, \fBjson\fP and and \fBtty\fP (colorful).
+The default format is \fBtty\fP.
+.TP
+\fB\-e\fP \fIcode\fP, \fB\-\-exclude\fP \fIcode\fP
+Suppress emission of given diagnostic codes.
+Diagnostic codes consist of four decimal digits.
+To suppress multiple codes, the option can be given multiple times or codes can be separated using commas.
+.TP
+\fB\-s\fP \fIshell\fP, \fB\-\-shell\fP \fIshell\fP
+Select shell dialect.
+Available shells are \fBbash\fP, \fBksh\fP (Korn shell), \fBsh\fP (POSIX compatible), and \fBzsh\fP.
+If this option is not given, the dialect is guessed from the shebang.
+Defaults to \fBbash\fP.
+.SH "SEE ALSO"
+.BR bash(1),
+.BR ksh(1),
+.BR sh(1),
+.BR zsh(1)
+.SH AUTHORS
+shellcheck was written by Vidar Holen.
+.PP
+This manual page was written by Helmut Grohne for the Debian project (but may be used by others).




More information about the Pkg-haskell-commits mailing list