Fixed backward compatibility with '-c' command line option