mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
improve help text
This commit is contained in:
@@ -278,10 +278,12 @@ def process(contents):
|
||||
|
||||
def main(argv):
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("filename")
|
||||
parser.add_argument("filename", help="VM PISM file: proofs/vm.pism")
|
||||
group = parser.add_mutually_exclusive_group()
|
||||
group.add_argument('--display', action='store_true')
|
||||
group.add_argument('--rust', action='store_true')
|
||||
group.add_argument('--display', action='store_true',
|
||||
help="show the compiled code in human readable format")
|
||||
group.add_argument('--rust', action='store_true',
|
||||
help="output compiled code to rust for testing")
|
||||
args = parser.parse_args()
|
||||
|
||||
src_filename = args.filename
|
||||
|
||||
Reference in New Issue
Block a user