Menu

#1367 Version 3.40.0 ignoring Command Line Args -h and -u

v1.0_(example)
closed
nobody
None
1
2016-12-09
2016-09-25
Gerard
No

I appear to have hit a bug in version 3.40.0, it is igonoring command line args -h and -u and writing a new section into the configuration file. If I switch back to version 3.39.0 and run Passwordsafe with the same command line there is no problem.

If it is significant, I am using environment variables in the command line string, so "%APPDATA%..." instead of "C:\Users\<username>\AppData\Roaming..."

Related

Bugs: #1382

Discussion

  • capcdoc

    capcdoc - 2016-09-27

    <na>

     

    Last edit: capcdoc 2016-09-28
  • DrK

    DrK - 2016-10-12

    This has been fixed by commit 7e7b477 and will be in the next release.

     

    Last edit: DrK 2016-10-13
  • Rony Shapiro

    Rony Shapiro - 2016-10-30
    • status: open --> pending
     
  • Lavsky

    Lavsky - 2016-11-27

    Bugs fixed in V3.41.0 1367 Fixed regression in command line arguments -h and -u support.

    problem still exists
    I am using: pwsafe.exe pwsafe.psafe3 -u Lavsky -h DEEP -g pwsafe1.cfg

     
  • DrK

    DrK - 2016-11-27

    Yes - I agree. I thought I had fixed it (my testing seemed to work) but it will take a bit longer to fix.

    The problem is:
    We have to open a config file before parsing the command line so that we know what language to issue any error messages but we have to parse the command line to find out what config file to open!

    We will probably have to parse it twice.

     

    Last edit: DrK 2016-11-27
  • DrK

    DrK - 2016-11-27

    I had fixed it but it did cause an issue re: language used for messages. Another developer fixed this but unfortunately backed out this fix.

    I have now fixed both issues with commit bf8cb6c. It will be in the next release.

     

    Last edit: DrK 2016-11-27
  • Rony Shapiro

    Rony Shapiro - 2016-12-09
    • Status: pending --> closed
     
  • Rony Shapiro

    Rony Shapiro - 2016-12-09
    • status: closed --> pending
     
  • Rony Shapiro

    Rony Shapiro - 2017-04-02
    • Status: pending --> closed
     

Log in to post a comment.