Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force specification of run number for the 'setup' command #906

Closed
pjbriggs opened this issue Nov 1, 2023 · 1 comment · Fixed by #926
Closed

Force specification of run number for the 'setup' command #906

pjbriggs opened this issue Nov 1, 2023 · 1 comment · Fixed by #926

Comments

@pjbriggs
Copy link
Member

pjbriggs commented Nov 1, 2023

Proposal to make the -r option compulsory for the setup command, to ensure that the run number is always specified.

@pjbriggs
Copy link
Member Author

pjbriggs commented Nov 1, 2023

Looks like add_argument in ArgumentParser class supports a required option that could be used for this: https://docs.python.org/3/library/argparse.html#quick-links-for-add-argument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant