The ns-3 Network Simulator Project
Change the usage of optparse to argparse in bake
Bake is an installation helper of ns-3 written in python. The codebase still uses the deprecated 'optparse' module for interacting with command line arguments. The task is to change the usage of optparse in the codebase to argparse.
The student is expected to do the following:
- Clone the bake code.
- Find and understand the usage of the optparse library.
- Replace the reference with the new argparse library.
- Submit a patch for evaluation.
Please note that the patch will be accepted if the following two commands gives the same output before and after the patch:
- python bake.py -h
- python bake.py configure -h
The student can hence use these commands for testing purposes.
Task tags
Students who completed this task
Kr0n0s, hax0kartik, pterp, howie