Commit 2e10c296 authored by D1plo1d's avatar D1plo1d

Adding a --loud debug option to prontserve

parent 58aa7cf0
...@@ -558,6 +558,10 @@ if __name__ == "__main__": ...@@ -558,6 +558,10 @@ if __name__ == "__main__":
help='Does not connect to the 3D printer' help='Does not connect to the 3D printer'
) )
parser.add_argument('--loud', default=False, action='store_true',
help='Enables verbose printer output'
)
args = parser.parse_args() args = parser.parse_args()
dry_run = args.dry_run dry_run = args.dry_run
...@@ -568,6 +572,7 @@ if __name__ == "__main__": ...@@ -568,6 +572,7 @@ if __name__ == "__main__":
print "" print ""
prontserve = Prontserve(dry_run=dry_run) prontserve = Prontserve(dry_run=dry_run)
prontserve.p.loud = args.loud
try: try:
if dry_run==False: if dry_run==False:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment