Merge "Fix usage message." am: fb8c86513e am: 9d9e540cc5

Original change: https://android-review.googlesource.com/c/platform/build/+/2625356

Change-Id: I3d87e175e24967da9ee5980341f927a9985a7c9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-06-19 20:31:41 +00:00
committed by Automerger Merge Worker

View File

@@ -93,17 +93,17 @@ func main() {
flags.Usage = func() { flags.Usage = func() {
fmt.Fprintf(os.Stderr, `Usage: %s {options} file.meta_lic {file.meta_lic...} fmt.Fprintf(os.Stderr, `Usage: %s {options} file.meta_lic {file.meta_lic...}
Outputs a space-separated Target ActsOn Origin Condition tuple for each Calculates the source-sharing requirements in reverse starting at the
resolution in the graph. When -dot flag given, outputs nodes and edges -rtrace projects or metadata files that inherited source-sharing and
in graphviz directed graph format. working back to the targets where the source-sharing requirmements
originate.
If one or more '-c condition' conditions are given, outputs the Outputs a space-separated pair where the first field is an originating
resolution for the union of the conditions. Otherwise, outputs the target with one or more restricted conditions and where the second
resolution for all conditions. field is a colon-separated list of the restricted conditions.
In plain text mode, when '-label_conditions' is requested, the Target Outputs a count of the originating targets, and if the count is zero,
and Origin have colon-separated license conditions appended: outputs a warning to check the -rtrace projects and/or filenames.
i.e. target:condition1:condition2 etc.
Options: Options:
`, filepath.Base(os.Args[0])) `, filepath.Base(os.Args[0]))