Skip to content

Commit

Permalink
Update man.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fetuber4095 authored Jul 17, 2023
1 parent f1dafe7 commit 4e006de
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion applications/proc/man.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@
docs = os.listdir(f"{root}/proc/docs")

print(f"{appname} v{version} - Manual pages:\n")
for page in docs: print(f" {page}")
n = 1
for page in docs:
print(f"\t{page}", end="")

if n == 3:
print("")

n = 0

n = n + 1

except Exception as traceback: print("ash: man: failed to list manual pages.")

0 comments on commit 4e006de

Please sign in to comment.