[suggestion] Align -help output to grid

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

[suggestion] Align -help output to grid

Post by user0 »

Suggestion
improve readability of -help output by alighning it to grid

main change
- -help output aligned to grid

other changes
- unifed period marking to ... (tripple dot) as there are 3 different symbols used: <->, -, and ...
- unified channels naming to short version (r g b a), as sometimes it is written in full, sometimes in short
- fixed some typos in description:
-- "Display informations only" > "Display information only", information sould not be plural
-- "Display information & metadata only" > "Display information & metadata only", same as above
-- "Geometry is widthxheight+offset" > "Geometry is WidthxHeight+Offset", capitalize for better readability
-- "floydSteinberg" > "Floyd-Steinberg"
-- added space after comma
-- deleted space before : in some cases, e.g. "(default : 6)" > "(default: 6)"
-- deleted space in the end of most lines

to check
- "Album bщbщ", not sure if this is correct description for frm2 extention

UPD
230312
- minor fix: "AVIF speed (0-10)" > "AVIF speed (0...10)"
Attachments
-help_7.136_new_230312.zip
(11.23 KiB) Downloaded 24 times
Last edited by user0 on Sun Mar 12, 2023 7:01 pm, edited 2 times in total.
cday
XnThusiast
Posts: 4396
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: [suggestion] Align -help output to grid

Post by cday »

Good effort, but I have a problem with character encoding after:

Code: Select all

-jxr_filter value        : JpegXR block filtering
      0                    : off
      1                    : HP
      2                    : all
      
Asian characters, I think?
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

Re: [suggestion] Align -help output to grid

Post by user0 »

hm, it was UTF-16 LE (generated by win cmd via >), resaved as UTF-8
hope that helps
Last edited by user0 on Wed Mar 01, 2023 1:49 pm, edited 1 time in total.
cday
XnThusiast
Posts: 4396
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: [suggestion] Align -help output to grid

Post by cday »

Fixed now, thanks.
cday
XnThusiast
Posts: 4396
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: [suggestion] Align -help output to grid

Post by cday »

Having used NConvert in Windows today, and having been reminded that the % character must be doubled to escape the character, I am wondering whether the following NConvert help file entry might be usefully edited to include a reminder:

Code: Select all

-o filename       : Output filename
    Use # to specify position of numeric enumerator
    Use % to specify source filename (In Windows use %%)
    ...
Or something similar?

Are there any other characters used in NConvert that also need to be 'escaped'?
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

Re: [suggestion] Align -help output to grid

Post by user0 »

not sure why this topic is in Closed/Resolved
OP issue is still there

also related:
short form of inch shall be 'in' not 'i'
Post Reply