mirror of
https://github.com/taigrr/teaqlite.git
synced 2026-04-02 04:59:03 -07:00
fixup cursor, blinking
This commit is contained in:
@@ -25,7 +25,7 @@ var rootCmd = &cobra.Command{
|
||||
Args: cobra.ExactArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
dbPath = args[0]
|
||||
|
||||
|
||||
if _, err := os.Stat(dbPath); os.IsNotExist(err) {
|
||||
return fmt.Errorf("database file '%s' does not exist", dbPath)
|
||||
}
|
||||
@@ -56,4 +56,4 @@ func Execute() error {
|
||||
|
||||
func init() {
|
||||
rootCmd.Flags().StringVarP(&dbPath, "database", "d", "", "Path to SQLite database file")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user