mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-01-07 19:45:43 -05:00
Cleanup
This commit is contained in:
parent
51d1d9fbfd
commit
a6d59b1fa7
2 changed files with 3 additions and 5 deletions
|
|
@ -75,8 +75,5 @@ def main():
|
|||
print("")
|
||||
exit()
|
||||
|
||||
__example_rns_config__ = '''# This is an example Identity Resolver file.
|
||||
'''
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
|
|
|||
|
|
@ -54,12 +54,13 @@ def main():
|
|||
parser.add_argument("--config", action="store", default=None, help="path to alternative Reticulum config directory", type=str)
|
||||
parser.add_argument('-v', '--verbose', action='count', default=0)
|
||||
parser.add_argument('-q', '--quiet', action='count', default=0)
|
||||
parser.add_argument("--exampleconfig", action='store_true', default=False, help="print verbose configuration example to stdout and exit")
|
||||
parser.add_argument("--version", action="version", version="rnpkg {version}".format(version=__version__))
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.exampleconfig:
|
||||
print(__example_rns_config__)
|
||||
print(__example_rnpkg_config__)
|
||||
exit()
|
||||
|
||||
if args.config: configarg = args.config
|
||||
|
|
@ -71,7 +72,7 @@ def main():
|
|||
print("")
|
||||
exit()
|
||||
|
||||
__example_rns_config__ = '''# This is an example package manager configuration file.
|
||||
__example_rnpkg_config__ = '''# This is an example package manager configuration file.
|
||||
'''
|
||||
|
||||
if __name__ == "__main__": main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue