Skip to content

Commit

Permalink
mason publish: minor updates to wording of help, output
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmad Rezaii <[email protected]>
  • Loading branch information
arezaii committed May 23, 2024
1 parent eeb8c69 commit fe145fb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/mason/publish/licenseList.good
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Force updating list of valid license names from SPDX repo...
done updating license list
Done updating license list
2 changes: 1 addition & 1 deletion test/mason/publish/publishHelp.good
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Options:
--check Runs check to see if package can be published successfully to <registry>
--ci-check Same as --check, except omits git origin checks
--[no-]update [Do not] Prevent registries from being updated when a package is published
--refresh-licenses Force update the list of valid license names and immediately exit without publishing
--refresh-licenses Force-update the list of valid license names and immediately exit without publishing

Publishing requires the mason-registry to be forked and the package to have a remote origin.
2 changes: 1 addition & 1 deletion test/mason/publish/publishHelpShort.good
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ Options:
--check Runs check to see if package can be published successfully to <registry>
--ci-check Same as --check, except omits git origin checks
--[no-]update [Do not] Prevent registries from being updated when a package is published
--refresh-licenses Force update the list of valid license names and immediately exit without publishing
--refresh-licenses Force-update the list of valid license names and immediately exit without publishing

Publishing requires the mason-registry to be forked and the package to have a remote origin.
2 changes: 1 addition & 1 deletion tools/mason/MasonHelp.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ proc masonPublishHelp(){
writeln(' --check Runs check to see if package can be published successfully to <registry>');
writeln(' --ci-check Same as --check, except omits git origin checks');
writeln(' --[no-]update [Do not] Prevent registries from being updated when a package is published');
writeln(' --refresh-licenses Force update the list of valid license names and immediately exit without publishing');
writeln(' --refresh-licenses Force-update the list of valid license names and immediately exit without publishing');
writeln();
writeln('Publishing requires the mason-registry to be forked and the package to have a remote origin.');
}
Expand Down
2 changes: 1 addition & 1 deletion tools/mason/MasonPublish.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ proc masonPublish(ref args: list(string)) throws {
if refreshLicenses {
writeln("Force updating list of valid license names from SPDX repo...");
refreshLicenseList(true);
writeln("done updating license list");
writeln("Done updating license list");
exit(0);
}

Expand Down

0 comments on commit fe145fb

Please sign in to comment.