Skip to content

Open Read Only #1265

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

Closed
3 of 14 tasks
angkastiel opened this issue Dec 12, 2017 · 10 comments
Closed
3 of 14 tasks

Open Read Only #1265

angkastiel opened this issue Dec 12, 2017 · 10 comments
Assignees
Labels
enhancement Feature requests.

Comments

@angkastiel
Copy link

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

Good idea. 😄

@justinclift justinclift added the enhancement Feature requests. label Dec 12, 2017
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

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
Member

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

@MKleusberg
Copy link
Member

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

@angkastiel Ping? Are you around? 😄

@angkastiel
Copy link
Author

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

@justinclift
Copy link
Member

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

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

@angkastiel
Copy link
Author

@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

Excellent. Good stuff @MKleusberg. 😄

@MKleusberg
Copy link
Member

Cool, thanks for testing, @angkastiel 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests.
Projects
None yet
Development

No branches or pull requests

5 participants