Skip to content

Commit ccbe96f

Browse files
committed
version++
1 parent e25b35d commit ccbe96f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

codeStyliser.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def styliseCode(fileToEdit):
186186

187187

188188
def main():
189-
VERSION_NUMBER = "0.1.10.4-BETA "
189+
VERSION_NUMBER = "0.1.11-BETA "
190190
WINDOWS_LINE_ENDING = b'\r\n'
191191
UNIX_LINE_ENDING = b'\n'
192192
isFileGiven = False
@@ -206,7 +206,7 @@ def main():
206206
print("\n")
207207
print("{:=^80}".format(" Welcome to CodeStyliser ver" + VERSION_NUMBER))
208208
print("Made by Pranjal Rastogi, in Python 3.7.7 64-Bit")
209-
print("Copyright (c) 2020, Pranjal Rastogi\n All rights Reserved")
209+
print("Copyright (c) 2020, Pranjal Rastogi\nAll Rights Reserved.")
210210
print("{:=^80}".format(""))
211211
if isFileGiven:
212212
print("Will stylise code in " + FILE_NAME + " if it is a C-Source (.c) file")
@@ -293,10 +293,10 @@ def main():
293293
timeInSec = time.gmtime(endTime - startTime).tm_sec
294294
if timeInSec == 0:
295295
timeTaken = int(round(endTime - startTime, 3)* 1000)
296-
print(f"Took {timeTaken} milliseconds to add braces {linesEdited} times in {fileNo} files")
296+
print(f"Took {timeTaken} milliseconds to add braces {linesEdited} time(s) in {fileNo} file(s)")
297297
else:
298298
timeTaken = timeInSec
299-
print(f"Took {timeTaken} seconds to add braces {linesEdited} times in {fileNo} files")
299+
print(f"Took {timeTaken} seconds to add braces {linesEdited} time(s) in {fileNo} file(s)")
300300
print("\n")
301301

302302
if __name__ == "__main__":

0 commit comments

Comments
 (0)