Skip to content

Commit 006ad7c

Browse files
authored
mssql: add -db short option for --database
Signed-off-by: Adriaan Bosch <80641430+A3-N@users.noreply.github.com>
1 parent 18ba7db commit 006ad7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/mssql/proto_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def proto_args(parser, parents):
99

1010
qgroup = mssql_parser.add_mutually_exclusive_group()
1111
qgroup.add_argument("-q", "--query", dest="mssql_query", metavar="QUERY", type=str, help="execute the specified query against the mssql db")
12-
qgroup.add_argument("--database", nargs="?", const=True, metavar="NAME", help="list databases or list tables for NAME")
12+
qgroup.add_argument("-db", "--database", nargs="?", const=True, metavar="NAME", help="list databases or list tables for NAME")
1313

1414
dgroup = mssql_parser.add_mutually_exclusive_group()
1515
dgroup.add_argument("-d", metavar="DOMAIN", dest="domain", type=str, help="domain name")

0 commit comments

Comments
 (0)