Author Topic: RC1: vs -h not reflecting what is in the online help  (Read 1205 times)

b

  • Senior Community Member
  • Posts: 250
  • Hero Points: 23
RC1: vs -h not reflecting what is in the online help
« on: September 15, 2016, 10:21:47 pm »
I have noticed that vs -h doesn't reflect all of the relevant parameters that are in the online help.  E.g., on Linux, there is mentioned a +supty (a parameter I didn't know existed and have been repeatedly been bitten by with builds requiring sudo to execute).   I can't see a specific rhyme or reason why the subset listed is, given versus what is online.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4472
  • Hero Points: 341
Re: RC1: vs -h not reflecting what is in the online help
« Reply #1 on: September 16, 2016, 03:48:18 am »
Changed this for RC 2 to display the help on "Invocation Options" instead of displaying a message box.

b

  • Senior Community Member
  • Posts: 250
  • Hero Points: 23
Re: RC1: vs -h not reflecting what is in the online help
« Reply #2 on: September 16, 2016, 04:45:56 pm »
Changed this for RC 2 to display the help on "Invocation Options" instead of displaying a message box.

I should clarify that this was on the Linux platform, so the usage displayed is to the console, not to a message box:

Code: [Select]
bjkurlex@bullwinkle ~/MF3 $ vs -h
Usage: vs [Options] file1 [Options] file2

   + or -new         New instance of the editor.
   -sc config_path   Specifies the configuration directory.
   -supf kbdfile     Specifies a keyboard file for mapping the keyboard
                     at the X (modmap) level.
   -sr restore_path  Specifies the directory containing auto-restore files.
   -st state_ksize   Specifies the maximum amount of swappable state file
                     data in vslick.sta to be kept in memory, in kilobytes.
   -suxft            (Linux only) Disables Xft font support.
   -sul              Disables the byte-range file locking that SlickEdit
                     normally performs. Enable this option when receiving
                     an 'access denied' error with remote files.
   -x pcode_name     Alternate state file (.sta) or pcode file (.ex).
   -p cmdline        Execute command with arguments given and exit.
   -r cmdline        Execute command with arguments given and remain resident.
   file1 file2       Files to edit. File names may contain wildcard
                     characters (* and ?).
   -#command         Execute command on active buffer.
   + or -L[C]        Turn on/off load entire file switch. The optional C suffix
                     specifies counting the number of lines in the file.
   + nnn             Load binary file(s) that follow with a record width nnn.
   +T [ buf_name ]   Start a default operating system format temporary buffer
                     with name buf_name.
   +TU [ buf_name ]  Start a UNIX format temporary buffer with name buf_name.
   +TM [ buf_name ]  Start a Macintosh format temporary buffer with name buf_name.
                     Classic Mac line endings are a single carriage return (ASCII 13).
   + or -E           Turn on/off expand tabs to spaces when loading file.
                     Default is off.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4472
  • Hero Points: 341
Re: RC1: vs -h not reflecting what is in the online help
« Reply #3 on: September 16, 2016, 04:54:40 pm »
RC 2 will display the help on Invocation Options for all platforms.

b

  • Senior Community Member
  • Posts: 250
  • Hero Points: 23
Re: RC1: vs -h not reflecting what is in the online help
« Reply #4 on: September 16, 2016, 07:41:08 pm »
Ok, great!  This begs the question of whether vsdiff should do the same.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4472
  • Hero Points: 341
Re: RC1: vs -h not reflecting what is in the online help
« Reply #5 on: September 17, 2016, 12:50:27 am »
vsdiff doesn't have quite so many options. However, if we added a help page for the vsdiff options, this would definitely make sense. It could have examples too which would be very helpful.

b

  • Senior Community Member
  • Posts: 250
  • Hero Points: 23
Re: RC1: vs -h not reflecting what is in the online help
« Reply #6 on: September 19, 2016, 05:20:47 pm »
I was thinking for consistency, but extra documentation is always useful.