Closed Bug 1518314 Opened 2 years ago Closed 2 years ago

talos help text for deprecated "sps" commands should point to hyphenated --gecko-profile options, not camelcase --geckoProfile options

Categories

(Testing :: Talos, enhancement)

Version 3
enhancement
Not set
normal

Tracking

(firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(1 file)

./mach talos-test --help has a confusing papercut right now.

It says this:

--spsProfile (Deprecated - Use --geckoProfile instead.) Profile the
run and output the results in $MOZ_UPLOAD_DIR.

...but then it doesn't have anything about --geckoProfile. Instead, it offers this slightly different spelling:

--gecko-profile Profile the run and output the results in [...]

As it turns out, both --gecko-profile and --geckoProfile will work (for now, see bug 1518313), but we only offer help text for the hyphenated version. So, we should update the deprecation message to point to the hyphenated version too.

(We can make this help-text-tweak independently from & prior to bug 1518313 -- and we probably should do so.)

Assignee: nobody → dholbert
Status: NEW → ASSIGNED

Historical note: it looks like bug 1502922 added the hyphenated commands (and suppressed the help text for the camelcase commands).

Depends on: 1502922
Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/292cf0b8d5c8
Adjust talos help text to point to documented --gecko-profile commands (rather than undocumented --geckoProfile aliases). r=rwood
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.