diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-10-04 09:30:48 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2021-10-04 10:31:21 -0400 |
commit | 75dd9fb67f793c687fa45744f3b276e35c87ca09 (patch) | |
tree | 0da9902f0b97dee226fc1d01d8079c5c6088b98a /docs/refman | |
parent | c6d74ac7e0890c323bd1190d5f5d3d938fc6d59a (diff) | |
download | meson-75dd9fb67f793c687fa45744f3b276e35c87ca09.zip meson-75dd9fb67f793c687fa45744f3b276e35c87ca09.tar.gz meson-75dd9fb67f793c687fa45744f3b276e35c87ca09.tar.bz2 |
interpreter: improve the error message about install_mode
We wrote:
ERROR: install_emptydir keyword argument "install_mode" permissions string must
be exactly 9 characters, got "4" in the form rwxr-xr-x
Let's change this around to be easier to read.
Also, 1-based numbering was used (for components) and 0-based for "bits".
And actually the "bits" are not bits, but octal digits. So say "permissions
character 1", "permissions character 2".
And finally change "must be … if provided" to "can only be". (If it isn't
provided, it "is not", so the sentence is still valid. The user will only
get this error if they provide something, so we don't need to be super precise
and say "if provided". And then we avoid confusing the reader whether
it's "if provided" attaches to the the "False" or to the whole sentence.)
Diffstat (limited to 'docs/refman')
0 files changed, 0 insertions, 0 deletions