Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Read Only #1265

Closed
angkastiel opened this issue Dec 12, 2017 · 10 comments
Closed

Open Read Only #1265

angkastiel opened this issue Dec 12, 2017 · 10 comments
Assignees

Comments

@angkastiel
Copy link

@angkastiel angkastiel commented Dec 12, 2017

Details for the issue

DB4S has option File\Open Database Read Only, but this option absent in command line options. Please, add option like --read-only to command line.

I'm opening this issue because:

  • DB4S is crashing
  • DB4S has a bug
  • DB4S needs a feature
  • DB4S has another problem

I'm using DB4S on:

  • Windows: ( _version: 7 x64 )
  • Linux: ( distro: ___ )
  • Mac OS: ( version: ___ )
  • Other: ___

I'm using DB4S version:

  • 3.10.1
  • 3.10.0
  • 3.9.1
  • Other: ___

I have also:

@justinclift
Copy link
Member

@justinclift justinclift commented Dec 12, 2017

Good idea. 😄

MKleusberg added a commit that referenced this issue Jan 5, 2018
Add a new command line option -R / --read-only for opening a database in
read-only mode.

See issue #1265.
@MKleusberg
Copy link
Member

@MKleusberg MKleusberg commented Jan 5, 2018

Yep, good idea! I have just added that option. You can now open a database in read-only mode by adding the --read-only command line option or -R for short.

@angkastiel Can you download tomorrow's nightly build and check if it works as expected for you?

@chrisjlocke
Copy link
Contributor

@chrisjlocke chrisjlocke commented Jan 5, 2018

Just checking ... all the other command line options are lowercase. Is -R meant to be uppercase only?

@MKleusberg
Copy link
Member

@MKleusberg MKleusberg commented Jan 5, 2018

Yes, that was intentional. Vim is using -R for read-only mode, so I was thinking that probably more programs are using it, and we might as well 😉 I haven't checked though.

@justinclift
Copy link
Member

@justinclift justinclift commented Jan 10, 2018

@angkastiel Ping? Are you around? 😄

@angkastiel
Copy link
Author

@angkastiel angkastiel commented Jan 11, 2018

@justinclift, i'm here. How to download the build, which spoke about @MKleusberg.

@justinclift
Copy link
Member

@justinclift justinclift commented Jan 11, 2018

@angkastiel Excellent. From here, they're automatically built every night from our latest source code. 😄

    https://nightlies.sqlitebrowser.org/latest/

@angkastiel
Copy link
Author

@angkastiel angkastiel commented Jan 12, 2018

@justinclift, @MKleusberg, i checked build at 12 jan 2018. Command line options -R and --read-only work as i expected. Thank you very much 😄

@justinclift
Copy link
Member

@justinclift justinclift commented Jan 12, 2018

Excellent. Good stuff @MKleusberg. 😄

@MKleusberg
Copy link
Member

@MKleusberg MKleusberg commented Jan 13, 2018

Cool, thanks for testing, @angkastiel 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants