Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Add --help and add --list to manpage | 563a442d63bab474b554453c6c3ccf10e3a5b48d | Lars Wirzenius | 2012-06-05 14:03:26 |
Add --list option to errno | 3ebe87776f38e07343d79c14bc2dad3560bf5f8f | Lars Wirzenius | 2012-06-05 13:58:32 |
Add errno manpage | 66a2a6ace9fb99096c2a1d0144a7b12895db59e6 | Lars Wirzenius | 2012-06-04 13:22:42 |
Add copyright statement | 2bc2887fefba2591bd6ede3a1eabbb6c26cf7a25 | Lars Wirzenius | 2012-06-04 13:22:25 |
Add errno to README | 607d5d3888a3af319a06e9a1fd0e7e8aebd41d11 | Lars Wirzenius | 2012-06-04 13:14:39 |
Add errno program | 9433d2b803644098ce690a52e1205c541d09eba5 | Lars Wirzenius | 2012-06-04 13:14:08 |
fix cleanup on error | d6ef4a470f5ba8b7b36d39cd1cb2418d58257fc0 | Joey Hess | 2012-05-22 17:39:24 |
releasing version 0.46 | d4f8bd597243c251d8528b5f6e5e1993dda42ccb | Joey Hess | 2012-04-10 15:48:31 |
cleanup | 4549f5d3e3ac049668bd41b7d3de214c7826f69b | Joey Hess | 2012-04-09 20:19:20 |
combine: Avoid reading files twice, to support data coming from pipes. Closes: #667960 Thanks, Carsten Hey | bbfa7f9a5d262d13c825005f89410f464148fd1d | Joey Hess | 2012-04-09 20:18:21 |
updated debian copyright format url | b70bf8f3b34e03acfe4ed906929e1a3f2b42dd4b | Joey Hess | 2012-02-25 14:53:16 |
Typo. Closes: #649158 | 9991e280ec2364b4605c5b7371829af39c662043 | Joey Hess | 2011-11-18 17:37:25 |
releasing version 0.45 | 929dee9e4544801af94a68a4e4631484fff4a3f3 | Joey Hess | 2011-06-19 20:20:19 |
ts: Support %.s for seconds sinch epoch with subsecond resolution. Closes: #619764 | bb190ff90f192cb50c086abec11459ab09c205f1 | Joey Hess | 2011-04-01 18:36:03 |
releasing version 0.44 | c27365c4f2a7e42841aef3f53b9316b4aaab730a | Joey Hess | 2011-03-10 21:38:58 |
pee: Propigate exit status of commands run. | 6827d8ff8e7c4e2003c6065d1769c780b4f96973 | Joey Hess | 2011-02-19 21:35:32 |
dep5 update | da4a447c4fda5972cd486c3d6e342476429b2733 | Joey Hess | 2011-02-19 21:35:08 |
typo: sed s/agganges/arranges/ | d85a95af34ba2cca2436f18e87a4a49154e170a5 | Barak A. Pearlmutter | 2011-01-24 14:02:44 |
DEP-5 | ec60338bdec33b47872932c9a1c05f352baea1a4 | Joey Hess | 2011-01-13 21:24:02 |
releasing version 0.43 | 3bd91ea4f68fcc0bdc3d4cab3cb51095a87ab1f4 | Joey Hess | 2010-10-31 00:59:44 |
File | Lines added | Lines deleted |
---|---|---|
errno.c | 12 | 0 |
errno.docbook | 15 | 0 |
File errno.c changed (mode: 100644) (index f1e2285..3b981ce) | |||
... | ... | report_from_code(int code) | |
74 | 74 | ||
75 | 75 | static struct option | static struct option |
76 | 76 | options[] = { | options[] = { |
77 | { "help", 0, NULL, 'h' }, | ||
77 | 78 | { "list", 0, NULL, 'l' }, | { "list", 0, NULL, 'l' }, |
78 | 79 | }; | }; |
79 | 80 | ||
80 | 81 | ||
82 | static void | ||
83 | usage(void) | ||
84 | { | ||
85 | printf("Usage: errno [-l] [--list] [keyword]\n"); | ||
86 | } | ||
87 | |||
88 | |||
81 | 89 | int | int |
82 | 90 | main(int argc, char **argv) | main(int argc, char **argv) |
83 | 91 | { | { |
... | ... | main(int argc, char **argv) | |
92 | 100 | break; | break; |
93 | 101 | ||
94 | 102 | switch (c) { | switch (c) { |
103 | case 'h': | ||
104 | usage(); | ||
105 | return EXIT_SUCCESS; | ||
106 | |||
95 | 107 | case 'l': | case 'l': |
96 | 108 | mode = list_mode; | mode = list_mode; |
97 | 109 | break; | break; |
File errno.docbook changed (mode: 100644) (index 0f3c241..64fd488) | |||
... | ... | with this program; if not, write to the Free Software Foundation, Inc., | |
70 | 70 | ||
71 | 71 | </refsect1> | </refsect1> |
72 | 72 | ||
73 | <refsect1> | ||
74 | <title>OPTIONS</title> | ||
75 | |||
76 | <variablelist> | ||
77 | <varlistentry> | ||
78 | <term><option>-l</option></term> | ||
79 | <term><option>--list</option></term> | ||
80 | <listitem> | ||
81 | <para>List all errno values.</para> | ||
82 | </listitem> | ||
83 | </varlistentry> | ||
84 | </variablelist> | ||
85 | |||
86 | </refsect1> | ||
87 | |||
73 | 88 | <refsect1> | <refsect1> |
74 | 89 | <title>AUTHOR</title> | <title>AUTHOR</title> |
75 | 90 | Lars Wirzenius | Lars Wirzenius |