We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86d1945 commit e45e82eCopy full SHA for e45e82e
1 file changed
implement-shell-tools/implement-shell-tools-python/ls/ls.py
@@ -20,6 +20,9 @@ def list_directory(path, show_all):
20
def main():
21
parser = argparse.ArgumentParser(description="List directory contents")
22
parser.add_argument("-a", "--all", action="store_true", help="show hidden files")
23
+ parser.add_argument(
24
+ "-1", dest="one", action="store_true", help="one entry per line (default)"
25
+ )
26
parser.add_argument("paths", nargs="*", default=["."], help="directories to list")
27
28
args = parser.parse_args()
0 commit comments