summaryrefslogtreecommitdiffstats
path: root/comedyGenerator
diff options
context:
space:
mode:
Diffstat (limited to 'comedyGenerator')
-rwxr-xr-xcomedyGenerator22
1 files changed, 21 insertions, 1 deletions
diff --git a/comedyGenerator b/comedyGenerator
index af46cff..0a80a22 100755
--- a/comedyGenerator
+++ b/comedyGenerator
@@ -12,6 +12,13 @@ import hashlib
parser = argparse.ArgumentParser(add_help=True)
+parser.add_argument('--source',
+ default=False,
+ action='store_true',
+ dest='source',
+ help='Links to the source code of the software'
+ )
+
parser.add_argument('--debug',
default=False,
action='store_true',
@@ -42,6 +49,9 @@ parser.add_argument('tags',
args = parser.parse_args()
+if args.source:
+ print("https://git.snootgame.xyz/PrincipalSpears/comedyGenerator")
+
if not args.usingJavascript:
from bs4 import BeautifulSoup
print("using html mode...")
@@ -154,5 +164,15 @@ else:
print("Neither Javascript or HTML was given!")
sys.exit(1)
-
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License version 3 as published by
+# the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.