Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Print useful error messages when invalid options are given #37212

Merged
merged 1 commit into from
Nov 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sky/tools/flutter_gdb
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ def main():
subparsers = parser.add_subparsers(help='sub-command help')
parser.add_argument('--adb', type=str, help='path to ADB tool')
parser.add_argument('--device', type=str, help='serial number of the target device')
parser.set_defaults(func=lambda args: parser.print_help())

commands = [
GdbClient(),
Expand Down