summaryrefslogtreecommitdiffstats
path: root/libsmartcols/samples/fromfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsmartcols/samples/fromfile.c')
-rw-r--r--libsmartcols/samples/fromfile.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/libsmartcols/samples/fromfile.c b/libsmartcols/samples/fromfile.c
index 1a90e2d4b..674f01206 100644
--- a/libsmartcols/samples/fromfile.c
+++ b/libsmartcols/samples/fromfile.c
@@ -222,18 +222,18 @@ int main(int argc, char *argv[])
int parent_col = -1, id_col = -1;
static const struct option longopts[] = {
- { "maxout", 0, 0, 'm' },
- { "column", 1, 0, 'c' },
- { "nlines", 1, 0, 'n' },
- { "width", 1, 0, 'w' },
- { "tree-parent-column", 1, 0, 'p' },
- { "tree-id-column", 1, 0, 'i' },
- { "json", 0, 0, 'J' },
- { "raw", 0, 0, 'r' },
- { "export", 0, 0, 'E' },
- { "colsep", 1, 0, 'C' },
- { "help", 0, 0, 'h' },
- { NULL, 0, 0, 0 },
+ { "maxout", 0, NULL, 'm' },
+ { "column", 1, NULL, 'c' },
+ { "nlines", 1, NULL, 'n' },
+ { "width", 1, NULL, 'w' },
+ { "tree-parent-column", 1, NULL, 'p' },
+ { "tree-id-column", 1, NULL, 'i' },
+ { "json", 0, NULL, 'J' },
+ { "raw", 0, NULL, 'r' },
+ { "export", 0, NULL, 'E' },
+ { "colsep", 1, NULL, 'C' },
+ { "help", 0, NULL, 'h' },
+ { NULL, 0, NULL, 0 },
};
static const ul_excl_t excl[] = { /* rows and cols in ASCII order */