Skip to content

Commit

Permalink
Updated name
Browse files Browse the repository at this point in the history
  • Loading branch information
2xB committed Oct 25, 2018
1 parent 7195efe commit 8cd7c79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
## Overview
Scans files from device "Dell S2825cdn". Provides a simple command line interface.
```
$ dellscan --help
$ dlscan --help
Scan document from Dell S2825cdn device.
Usage: dellscan file [--greyscale] [-gs] [FILE]
Usage: dlscan file [--greyscale] [-gs] [FILE]
Filenames cannot start with '-'.
## Requirements
Expand All @@ -17,6 +17,6 @@ All dependencies are available through pip.

## Installation:
```
$ sudo cp dellscan.py /usr/bin/dellscan
$ sudo chmod +x /usr/bin/dellscan
$ sudo cp dlscan.py /usr/bin/dlscan
$ sudo chmod +x /usr/bin/dlscan
```
4 changes: 2 additions & 2 deletions dellscan.py → dlscan.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/python3

"""
Dellscan
Dlscan
Copyright (C) 2018, Fachschaftsrat Physik der Universität Münster
Expand Down Expand Up @@ -183,7 +183,7 @@ def save_array_as_img(realcolors, name):

if filename == "" or filename[0] == '-':
print("Scan document from Dell S2825cdn device.\n" + \
"Usage: dellscan file [--greyscale] [-gs] [FILE]\n"+\
"Usage: dlscan file [--greyscale] [-gs] [FILE]\n"+\
"Filenames cannot start with '-'.")
else:
arr= scan(greyscale)
Expand Down

0 comments on commit 8cd7c79

Please sign in to comment.