composer-cli: Bump the default API version to 1

This was lost when backporting the sources command from master (on
master it is included as part of the upload command which is not
available on F31).
This commit is contained in:
Brian C. Lane 2020-05-20 08:37:54 -07:00
parent c3d1f90f5b
commit b88cda8e15
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def composer_cli_parser():
help="Path to the socket file to listen on")
parser.add_argument("--log", dest="logfile", default=None, metavar="LOG",
help="Path to logfile (./composer-cli.log)")
parser.add_argument("-a", "--api", dest="api_version", default="0", metavar="APIVER",
parser.add_argument("-a", "--api", dest="api_version", default="1", metavar="APIVER",
help="API Version to use")
parser.add_argument("--test", dest="testmode", default=0, type=int, metavar="TESTMODE",
help="Pass test mode to compose. 1=Mock compose with fail. 2=Mock compose with finished.")