Document the expectations of two arguments.
To work with the updater, these files must have a certain prefix. Test: Run with --help and upgrade a crate. Change-Id: Icdc492479223865c39d6c6f10b84fe3d762f5d1d
This commit is contained in:
@@ -1749,11 +1749,13 @@ def get_parser():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--add-toplevel-block',
|
'--add-toplevel-block',
|
||||||
type=str,
|
type=str,
|
||||||
help='Add the contents of the given file to the top level of the Android.bp.')
|
help=('Add the contents of the given file to the top level of the Android.bp. ' +
|
||||||
|
'The filename should start with cargo2android to work with the updater.'))
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--add-module-block',
|
'--add-module-block',
|
||||||
type=str,
|
type=str,
|
||||||
help='Add the contents of the given file to the main module.')
|
help=('Add the contents of the given file to the main module. '+
|
||||||
|
'The filename should start with cargo2android to work with the updater.'))
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--verbose',
|
'--verbose',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
|
|||||||
Reference in New Issue
Block a user