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

Comments

Projects
None yet
5 participants
@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

This comment has been minimized.

Copy link
Member

justinclift commented Dec 12, 2017

Good idea. 😄

MKleusberg added a commit that referenced this issue Jan 5, 2018

Add a --read-only command line option
Add a new command line option -R / --read-only for opening a database in
read-only mode.

See issue #1265.
@MKleusberg

This comment has been minimized.

Copy link
Member

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

This comment has been minimized.

Copy link
Contributor

chrisjlocke commented Jan 5, 2018

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

@MKleusberg

This comment has been minimized.

Copy link
Member

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

This comment has been minimized.

Copy link
Member

justinclift commented Jan 10, 2018

@angkastiel Ping? Are you around? 😄

@angkastiel

This comment has been minimized.

Copy link
Author

angkastiel commented Jan 11, 2018

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

@justinclift

This comment has been minimized.

Copy link
Member

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

This comment has been minimized.

Copy link
Author

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

This comment has been minimized.

Copy link
Member

justinclift commented Jan 12, 2018

Excellent. Good stuff @MKleusberg. 😄

@MKleusberg

This comment has been minimized.

Copy link
Member

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