Closed Bug 660680 Opened 15 years ago Closed 15 years ago

--strip-xpi should be identified as experimental in docs

Categories

(Add-on SDK Graveyard :: Documentation, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: myk, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

The --strip-xpi command-line flag is identified as a "supported" command-line flag in the cfx documentation, but it should be marked "experimental," since it landed late in the cycle, but especially because we expect to make its behavior the default and then remove the flag in the future. Brian: can you put together a patch for this?
Blocks: 660286
Comment on attachment 536352 [details] [diff] [review] mark --strip-xpi as experimental, in 'cfx --help' and xpi.md >diff --git a/python-lib/cuddlefish/__init__.py b/python-lib/cuddlefish/__init__.py > (("", "--strip-xpi",), dict(dest="strip_xpi", >- help="remove unused modules from XPI", >+ help="[experimental] remove unused modules from XPI", > action="store_true", > default=False, > cmds=['xpi'])), Instead of tagging the option in its help text, move it to the separate "parser group" called "Experimental Command-Specific Options" (search for that string in the code to find it), which is the group into which such options should be placed.
Attachment #536352 - Flags: review?(myk) → review-
ahh.. I didn't even see that section. Righto, here's an updated patch.
Attachment #536352 - Attachment is obsolete: true
Attachment #536535 - Flags: review?(myk)
Comment on attachment 536535 [details] [diff] [review] better patch, move option into 'experimental' section of --help text >+file. (Note: `--strip-xpi` is currently experimental; when this feature is >+sufficiently mature, it will simply be made the default, and the `cfx` option >+will be removed). Nit: ). -> .) r+a=myk
Attachment #536535 - Flags: review?(myk) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: