diff --git a/it/f.py b/it/f.py index b6f6b0c..c8c9b96 100644 --- a/it/f.py +++ b/it/f.py @@ -1,6 +1,8 @@ -def main(argc, argv, buffer): - if(argc > 2): +def main(buffer, argv): + if len(argv) > 2: print("?") + elif len(argv) == 1: + print(buffer.filename) else: buffer.filename = argv[1] return buffer