Skip to content

Commit

Permalink
EdkRepo: Add source_manifest_repo argument to edkrepo_command.py
Browse files Browse the repository at this point in the history
Add a common definition of the source_manifest_repo argument
to edkrepo_command.py to enable selection of the correct source
global manifest repository by commands.

Signed-off-by: Ashley E Desimone <ashley.e.desimone@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Cc: Puja Pandya <puja.pandya@intel.com>
Cc: Erik Bjorge <erik.c.bjorge@intel.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Prince Agyeman <prince.agyeman@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com>
  • Loading branch information
ashedesimone authored and nate-desimone committed May 5, 2020
1 parent 6153e4a commit 6fd0366
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions edkrepo/commands/arguments/edkrepo_cmd_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
OVERRIDE_HELP = 'Ignore warnings'
SUBMODULE_SKIP_HELP = 'Skip the pull or sync of any submodules.'
COLOR_HELP = 'Force color output (useful with \'less -r\')'
SOURCE_MANIFEST_REPO_HELP = "The name of the workspace's source global manifest repository"
6 changes: 6 additions & 0 deletions edkrepo/commands/edkrepo_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@ def run_command(self, args, config):
'positional' : False,
'required' : False,
'help-text' : arguments.SUBMODULE_SKIP_HELP}

SourceManifestRepoArgument = {'name' : 'source-manifest-repo',
'positional': False,
'required' : False,
'action' : 'store',
'help-text' : arguments.SOURCE_MANIFEST_REPO_HELP}

0 comments on commit 6fd0366

Please sign in to comment.