cleaned up notes in readme
This commit is contained in:
1 parent
4d21f9e67d
commit
46bf3c23c3
1 file changed
-21
@@ -2,24 +2,3 @@
|
|||||||
|
|
||||||
This is a replacement for `ls` with additional features.
|
This is a replacement for `ls` with additional features.
|
||||||
Though it may result as a rewrite of `eza` (formerly `exa`).
|
Though it may result as a rewrite of `eza` (formerly `exa`).
|
||||||
|
|
||||||
# notes
|
|
||||||
|
|
||||||
```c
|
|
||||||
static struct argp_option options[] = {
|
|
||||||
{"verbose", 'v', 0, 0, "Enable verbose output"},
|
|
||||||
{"output", 'o', "FILE", 0, "Output file"},
|
|
||||||
{0}
|
|
||||||
};
|
|
||||||
|
|
||||||
static void print_options(const struct argp_option *opts)
|
|
||||||
{
|
|
||||||
for (const struct argp_option *o = opts;
|
|
||||||
o->name || o->key || o->arg || o->flags || o->doc;
|
|
||||||
++o)
|
|
||||||
{
|
|
||||||
if (o->name)
|
|
||||||
puts(o->name);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
|
||||||
Reference in new issue
Block a user