Skip to content

Commit

Permalink
change flag
Browse files Browse the repository at this point in the history
  • Loading branch information
aajtodd committed Oct 6, 2023
1 parent dcd08f3 commit 0bb58c7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import shlex

GIT_ORIGIN_REFIX = "refs/heads/"
VERBOSE = True
VERBOSE = False


def vprint(message):
Expand Down Expand Up @@ -104,7 +104,7 @@ def create_cli():
formatter_class=argparse.ArgumentDefaultsHelpFormatter
)

parser.add_argument("-q", "--quiet", help="quiet output", action="store_true")
parser.add_argument("-v", "--verbose", help="quiet output", action="store_true")
subparsers = parser.add_subparsers()
set_branch = subparsers.add_parser('set-branch', help="update a local git repository to a given branch if it exists on the remote")
get_branch = subparsers.add_parser('get-branch', help="get the current branch of a local git repository")
Expand All @@ -123,9 +123,9 @@ def main():
cli = create_cli()
opts = cli.parse_args()
opts.repository = os.path.abspath(opts.repository)
if opts.quiet:
if opts.verbose:
global VERBOSE
VERBOSE = False
VERBOSE = True
opts.cmd(opts)


Expand Down

0 comments on commit 0bb58c7

Please sign in to comment.