diff --git a/src/python/jw/pkg/cmds/distro/CmdInstall.py b/src/python/jw/pkg/cmds/distro/CmdInstall.py index 7f3a9074..0f7441ff 100644 --- a/src/python/jw/pkg/cmds/distro/CmdInstall.py +++ b/src/python/jw/pkg/cmds/distro/CmdInstall.py @@ -14,6 +14,9 @@ class CmdInstall(Cmd): # export super().add_arguments(parser) parser.add_argument("names", nargs="*", help="Packages to be installed") parser.add_argument('--only-update', default=False, action='store_true', help='Only update the listed packages, don\'t install them') + parser.add_argument('-F', '--fixed-strings', action='store_true', + help='Don\'t expand platform info macros in ') async def _run(self, args: Namespace) -> None: - return await self.distro.install(args.names, only_update=args.only_update) + names = names if args.fixed_strings else self.app.distro_info(args.names) + return await self.distro.install(names, only_update=args.only_update)