Debian Codegraph @

debian/hc.1

raw
1 .\" Hey, EMACS: -*- nroff -*-
2 .\" First parameter, NAME, should be all caps
3 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4 .\" other parameters are allowed: see man(7), man(1)
5 .TH HC 1 "February 29, 2012"
6 .\" Please adjust this date whenever revising the manpage.
7 .\"
8 .\" Some roff macros, for reference:
9 .\" .nh disable hyphenation
10 .\" .hy enable hyphenation
11 .\" .ad l left justify
12 .\" .ad b justify to both left and right margins
13 .\" .nf disable filling
14 .\" .fi enable filling
15 .\" .br insert line break
16 .\" .sp <n> insert n+1 empty lines
17 .\" for manpage-specific macros, see man(7)
18 .SH NAME
19 httpcode \- explains the meaning of an HTTP status code on the command line
20 .SH SYNOPSIS
21 .B hc
22 .RI "[ options ] [ code ]"
23 .SH DESCRIPTION
24 This manual page documents briefly the
25 .B httpcode
26 commands.
27 .PP
28 .\" TeX users may be more comfortable with the \fB<whatever>\fP and
29 .\" \fI<whatever>\fP escape sequences to invode bold face and italics,
30 .\" respectively.
31 \fBhttpcode\fP is a little utility that explains the meaning of an HTTP status code on the command line.
32 .SH OPTIONS
33 These programs follow the usual GNU command line syntax, with long
34 options starting with two dashes (`-').
35 A summary of options is included below.
36 For a complete description, see the Info files.
37 .TP
38 .B \-h, \-\-help
39 Show summary of options.
40 .TP
41 .B \-s SEARCH, \-\-search=SEARCH
42 Search for a code by name or description. Search text may contain regular expressions.
43 .SH USAGE
44 .LP
45 Lists all available HTTP status codes and their description:
46 .LP
47 hc
48 .LP
49 Explain 405 status code:
50 .LP
51 hc 405
52 .LP
53 Search code(s) by description (case-insensitive):
54 .LP
55 hc \-s too
56 .LP
57 Filter codes with a regex
58 .LP
59 hc 30[12]
60 .LP
61 Use an 'x' for any digit
62 .LP
63 hc 1xx
64 .SH AUTHOR
65 httpcode was written by Ruslan Spivak <[email protected]>.
66 .PP
67 This manual page was written by Khalid El Fathi <[email protected]>,
68 for the Debian project (and may be used by others).