This commit is contained in:
parent
00e29ab908
commit
cdfd6b9d7b
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
import sweecrypt
|
import sweecrypt
|
||||||
from sys import argv
|
from sys import argv
|
||||||
print(sweecrypt.encrypt(" ".join(argv[3:])))
|
if argv[3][:2] == "-s":
|
||||||
|
print(sweecrypt.encrypt(" ".join(argv[4:]), argv[3][3:]))
|
||||||
|
else:
|
||||||
|
print(sweecrypt.encrypt(" ".join(argv[3:])))
|
Loading…
Reference in a new issue