From fcfa88a33b0a68625832e6ded51bcf90fbcc7cdb Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 16 Feb 2017 09:59:54 +0000 Subject: [PATCH] Import from stdIn not from a file --- cli/import.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/import.go b/cli/import.go index dbf3b963..214c11fd 100644 --- a/cli/import.go +++ b/cli/import.go @@ -19,9 +19,9 @@ import ( ) var importCmd = &cobra.Command{ - Use: "import [options] ", - Short: "Import data into an existing database from a JSON file", - Example: " surreal import backup.zip", + Use: "import", + Short: "Import data into an existing database", + Example: " surreal import", Run: func(cmd *cobra.Command, args []string) { // Do Stuff Here },