Skip to content

Commit e31edff

Browse files
committed
cat - complete
1 parent 5ce2651 commit e31edff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • implement-shell-tools/cat

implement-shell-tools/cat/cat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
parser = argparse.ArgumentParser(prog="cat", description="Prints the output of a file to the console")
44
parser.add_argument("-n", "--number", help="Displays the lines along with their number", action="store_true")
5-
parser.add_argument("-b", "--nonblank", help="Displays the lines along with their number", action="store_true")
5+
parser.add_argument("-b", "--nonblank", help="Displays the lines along with their number skipping the blank lines", action="store_true")
66
parser.add_argument("path", help="The file path", nargs="+")
77

88
args = parser.parse_args()

0 commit comments

Comments
 (0)