File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pub fn help(){
7
7
println ! ( "-a,--add <secret> <issuer> <label> | Add a new OTP code" ) ;
8
8
println ! ( "-r,--remove <secret> <issuer> <label> | Remove an OTP code" ) ;
9
9
println ! ( "-e,--edit <id> <secret> <issuer> <label> | Edit an OTP code" ) ;
10
- println ! ( "-i,--import <appname> <filename> | Import a backup from a given application" ) ;
10
+ println ! ( "-i,--import <appname> <path> | Import a backup from a given application" ) ;
11
11
println ! ( "-ex,--export | Export the entire database in a plaintext json format" ) ;
12
12
println ! ( "-j,--json | Print results in json format" ) ;
13
13
println ! ( "-h,--help | Print this help" ) ;
@@ -38,7 +38,11 @@ pub fn import(args: Vec<String>){
38
38
println ! ( "Successfully imported database" ) ;
39
39
}
40
40
else {
41
- println ! ( "Invalid arguments, type cotp --import <backup_format> <path>" ) ;
41
+ println ! ( "Invalid arguments, type cotp --import <appname> <path>" ) ;
42
+ println ! ( "cotp can import backup from:" ) ;
43
+ println ! ( "\" cotp\" " ) ;
44
+ println ! ( "\" aegis\" " ) ;
45
+ println ! ( "\" andotp\" " ) ;
42
46
}
43
47
}
44
48
You can’t perform that action at this time.
0 commit comments