summaryrefslogtreecommitdiffstats
path: root/libsmartcols/samples/fromfile.c
diff options
context:
space:
mode:
authorKarel Zak2016-09-14 12:49:46 +0200
committerKarel Zak2016-09-14 12:49:46 +0200
commit36eb51ebb420e88b3147b652d08c21728d5c4f87 (patch)
treedbdebcc00f314b2cf318b71bc1b73d7a633f062a /libsmartcols/samples/fromfile.c
parenttests: add another libsmartcols tests (diff)
downloadkernel-qcow2-util-linux-36eb51ebb420e88b3147b652d08c21728d5c4f87.tar.gz
kernel-qcow2-util-linux-36eb51ebb420e88b3147b652d08c21728d5c4f87.tar.xz
kernel-qcow2-util-linux-36eb51ebb420e88b3147b652d08c21728d5c4f87.zip
tests: add libsmartcols title test
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/samples/fromfile.c')
-rw-r--r--libsmartcols/samples/fromfile.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libsmartcols/samples/fromfile.c b/libsmartcols/samples/fromfile.c
index ec12267a6..aa283ded5 100644
--- a/libsmartcols/samples/fromfile.c
+++ b/libsmartcols/samples/fromfile.c
@@ -194,8 +194,6 @@ int main(int argc, char *argv[])
scols_table_set_termforce(tb, SCOLS_TERMFORCE_ALWAYS);
scols_table_set_termwidth(tb, strtou32_or_err(optarg, "failed to parse terminal width"));
break;
- default:
- err(EXIT_FAILURE, "%s [-r|--random]\n", program_invocation_short_name);
}
}