Skip to content

Commit

Permalink
feat!: rename ls option --short -> --brief
Browse files Browse the repository at this point in the history
as in virtualenvwrapper lsvirtualenv
  • Loading branch information
un-def committed Apr 16, 2024
1 parent 4bc26b3 commit dbb77a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/luamb/_luamb.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def cmd_ls(self, argv):
return
parser = argparse.ArgumentParser(prog='luamb ls')
parser.add_argument(
'-s', '--short',
'-b', '--brief',
action='store_true',
help="show only names of environments",
)
Expand All @@ -405,7 +405,7 @@ def cmd_ls(self, argv):
return
envs = next(os.walk(self.envs_dir))[1]
envs.sort()
detail = not args.short
detail = not args.brief
for env in envs:
self._show_env_info(env, detail=detail)
if detail:
Expand Down

0 comments on commit dbb77a9

Please sign in to comment.