File tree 2 files changed +11
-1
lines changed
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change
1
+ usage: pyshuf [-h] [-e] [-i lo-hi] [-n count] [--input-file INPUT_FILE]
2
+
3
+ optional arguments:
4
+ -h, --help show this help message and exit
5
+ -e, --echo Treat each command-line operand as an input line
6
+ -i lo-hi, --input-range lo-hi
7
+ Act as if input came from a file containing the range of unsigned decimal integers lo...hi, one per line.
8
+ -n count, --head-count count
9
+ Output at most count lines
10
+ --input-file INPUT_FILE
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ def lo_hi(lo_hi_str):
43
43
def main ():
44
44
45
45
parser = argparse .ArgumentParser ()
46
- parser .add_argument ("--infile" , type = file )
47
46
parser .add_argument ("-e" ,"--echo" ,
48
47
action = "store_true" ,
49
48
help = "Treat each command-line operand as an input line" )
@@ -54,6 +53,7 @@ def main():
54
53
metavar = "count" ,
55
54
type = int ,
56
55
help = "Output at most count lines" )
56
+ parser .add_argument ("--input-file" , type = file )
57
57
58
58
try :
59
59
args , unk = parser .parse_known_args ()
You can’t perform that action at this time.
0 commit comments