Skip to content

Commit 998b878

Browse files
committed
Change arg help
1 parent b5f9e13 commit 998b878

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

nxc/protocols/nfs/proto_args.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def proto_args(parser, parents):
66
dgroup = nfs_parser.add_argument_group("NFS Mapping/Enumeration", "Options for Mapping/Enumerating NFS")
77
dgroup.add_argument("--shares", action="store_true", help="List NFS shares")
88
dgroup.add_argument("--enum-shares", nargs="?", type=int, const=3, help="Authenticate and enumerate exposed shares recursively (default depth: %(const)s)")
9-
dgroup.add_argument("--get-file", nargs=2, metavar="FILE", help="Download remote NFS file.\n--get-file remote_file local_file")
10-
dgroup.add_argument("--put-file", nargs=2, metavar="FILE", help="Upload remote NFS file with chmod 777 permissions.\n--put-file local_file remote_file")
9+
dgroup.add_argument("--get-file", nargs=2, metavar="FILE", help="Download remote NFS file. Example: --get-file remote_file local_file")
10+
dgroup.add_argument("--put-file", nargs=2, metavar="FILE", help="Upload remote NFS file with chmod 777 permissions to the specified folder. Example: --put-file local_file remote_file")
1111

1212
return parser

0 commit comments

Comments
 (0)