This is an archive of the discontinued LLVM Phabricator instance.

[lld] Consistent help text for `--save-temps`
ClosedPublic

Authored by sbc100 on Jan 18 2021, 11:42 AM.

Details

Summary

I noticed that this option was not appearing at all in the --help
messages for wasm-ld or ld.lld.

Add help text and make it consistent across all ports.

Diff Detail

Event Timeline

sbc100 created this revision.Jan 18 2021, 11:42 AM
sbc100 requested review of this revision.Jan 18 2021, 11:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 18 2021, 11:42 AM

BTW, do you know if we can remove the rules that add espindola (who has left the project IIUC) from all lld/ELF changes?

BTW, do you know if we can remove the rules that add espindola (who has left the project IIUC) from all lld/ELF changes?

https://reviews.llvm.org/H312 cannot be disabled...

You Shall Not Pass: H312	
You do not have permission to edit this object.
Users with the "Can Edit" capability:
espindola (Rafael Avila de Espindola) can take this action.
A personal rule can only be edited by its owner.
lld/COFF/Options.td
71

Help messages don't have a period.

sbc100 updated this revision to Diff 319021.Jan 25 2021, 8:17 AM

feedback

sbc100 marked an inline comment as done.Jan 25 2021, 8:17 AM

The wording looks good to me. I'd prefer --save-temps in the subject.

MaskRay accepted this revision.Jan 25 2021, 9:45 AM
This revision is now accepted and ready to land.Jan 25 2021, 9:45 AM
sbc100 retitled this revision from [lld] Consistent help text for `-save-temps` to [lld] Consistent help text for `--save-temps`.Jan 25 2021, 10:23 AM
This revision was automatically updated to reflect the committed changes.