Skip to content

Commit

Permalink
Remove -l from faops interleave
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-q committed Mar 17, 2019
1 parent 9b5fd63 commit 2446927
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions faops.c
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,7 @@ int fa_dazz(int argc, char *argv[]) {
int fa_interleave(int argc, char *argv[]) {
char *prefix = "read";
long start_index = 0;
int option = 0, opt_line = 0;
int option = 0;

while ((option = getopt(argc, argv, "p:s:l:")) != -1) {
switch (option) {
Expand All @@ -1575,9 +1575,6 @@ int fa_interleave(int argc, char *argv[]) {
case 's':
start_index = atol(optarg);
break;
case 'l':
opt_line = atoi(optarg);
break;
default:
fprintf(stderr, "Unsupported option\n");
exit(1);
Expand All @@ -1596,11 +1593,9 @@ int fa_interleave(int argc, char *argv[]) {
"options:\n"
" -p STR prefix of names [read]\n"
" -s INT start index [0]\n"
" -l INT sequence line length [%d]\n"
"\n"
"Write to stdout and don't support reading from stdin.\n"
"\n",
opt_line);
"\n");
exit(1);
}

Expand Down

0 comments on commit 2446927

Please sign in to comment.