diff --git a/gitlab/cli.py b/gitlab/cli.py
index <HASH>..<HASH> 100755
--- a/gitlab/cli.py
+++ b/gitlab/cli.py
@@ -277,12 +277,16 @@ def main():
         sys.exit(1)
 
     gitlab_id = arg.gitlab
-    # conflicts with "gitlab" attribute from GitlabObject class
-    args.pop("gitlab")
     verbose = arg.verbose
     action = arg.action
     what = arg.what
 
+    # Remove CLI behavior-related args
+    args.pop("gitlab")
+    args.pop("config_file")
+    args.pop("verbose")
+    args.pop("what")
+
     if gitlab_id is None:
         try:
             gitlab_id = config.get('global', 'default')
CLI: remove wrong attributes from the verbose output

These attributes comme from the command line arguments.