summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazMalhotra2020-02-08 18:04:40 -0800
committerKazMalhotra2020-02-08 18:04:40 -0800
commit8ff2b45dcc22168a81a840081c7be7f05c875e6e (patch)
tree168e69150c88d140cf5327fd9a4fd0f828bf444d
parent70bb659fe92f2a28030a332690db25af6165c2d2 (diff)
downloadaur-8ff2b45dcc22168a81a840081c7be7f05c875e6e.tar.gz
update help
-rw-r--r--.SRCINFO1
-rwxr-xr-xcitardauq2
-rwxr-xr-xcitardauq.py21
3 files changed, 2 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c7922fd7d2f..4008e9bcc69 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -10,3 +10,4 @@ pkgbase = citardauq
md5sums = b6dfdfb3d79c0709e1154e9f55695726
pkgname = citardauq
+
diff --git a/citardauq b/citardauq
index 428b92f006b..2b5a3c54c77 100755
--- a/citardauq
+++ b/citardauq
@@ -2,7 +2,7 @@
import cmath, sys
if len(sys.argv) != 4:
- print("Please enter a, b, and c as arguments.")
+ print("Please enter a, b, and c as arguments. For more details, see https://kazmal.tech/citardauq")
else:
diff --git a/citardauq.py b/citardauq.py
deleted file mode 100755
index 428b92f006b..00000000000
--- a/citardauq.py
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/python
-import cmath, sys
-
-if len(sys.argv) != 4:
- print("Please enter a, b, and c as arguments.")
-
-
-else:
-
- a = float(sys.argv[1])
- b = float(sys.argv[2])
- c = float(sys.argv[3])
-
- print('a is', a, 'b is', b, 'c is', c)
-
- d = (b ** 2) - (4 * a * c)
-
- sol0 = (-b - cmath.sqrt(d)) / (2*a)
- sol1 = (-b + cmath.sqrt(d)) / (2*a)
-
- print("X could be", sol0, "or", sol1)