Skip to content

Commit e197a11

Browse files
authored
1 parent aee288e commit e197a11

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/vs/platform/environment/common/argv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export interface NativeParsedArgs {
9292
editSessionId?: string;
9393
'locate-shell-integration-path'?: string;
9494
'profile'?: string;
95-
'profile-transient'?: boolean;
95+
'profile-temp'?: boolean;
9696

9797
// chromium command line args: https://electronjs.org/docs/all#supported-chrome-command-line-switches
9898
'no-proxy-server'?: boolean;

src/vs/platform/environment/node/argv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const OPTIONS: OptionDescriptions<Required<NativeParsedArgs>> = {
5151
'locale': { type: 'string', cat: 'o', args: 'locale', description: localize('locale', "The locale to use (e.g. en-US or zh-TW).") },
5252
'user-data-dir': { type: 'string', cat: 'o', args: 'dir', description: localize('userDataDir', "Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code.") },
5353
'profile': { type: 'string', 'cat': 'o', args: 'settingsProfileName', description: localize('settingsProfileName', "Opens the provided folder or workspace with the given profile and associates the profile with the workspace. If the profile does not exist, a new empty one is created. A folder or workspace must be provided for the profile to take effect.") },
54-
'profile-transient': { type: 'boolean', 'cat': 'o', description: localize('transientProfile', "Creates an empty transient profile and opens the provided folder or workspace with this profile. A folder or workspace must be provided for the profile to take effect.") },
54+
'profile-temp': { type: 'boolean', 'cat': 'o', description: localize('temporaryProfile', "Creates an empty temporary profile and opens the provided folder or workspace with this profile. A folder or workspace must be provided for the profile to take effect.") },
5555
'help': { type: 'boolean', cat: 'o', alias: 'h', description: localize('help', "Print usage.") },
5656

5757
'extensions-dir': { type: 'string', deprecates: ['extensionHomePath'], cat: 'e', args: 'dir', description: localize('extensionHomePath', "Set the root path for extensions.") },

src/vs/platform/userDataProfile/electron-main/userDataProfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class UserDataProfilesMainService extends UserDataProfilesService impleme
6666
}
6767
return this.createProfile(args.profile).then(() => args);
6868
}
69-
if (args['profile-transient']) {
69+
if (args['profile-temp']) {
7070
return this.createTransientProfile()
7171
.then(profile => {
7272
// Set the profile name to use

src/vs/workbench/contrib/userDataProfile/browser/userDataProfileActions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ registerAction2(class CreateProfileAction extends Action2 {
151151
registerAction2(class CreateTransientProfileAction extends Action2 {
152152
constructor() {
153153
super({
154-
id: 'workbench.profiles.actions.createTransientProfile',
154+
id: 'workbench.profiles.actions.createTemporaryProfile',
155155
title: {
156-
value: localize('create transient profile', "Create Transient Settings Profile"),
157-
original: 'Create Transient Settings Profile'
156+
value: localize('create temporary profile', "Create a Temporary Settings Profile"),
157+
original: 'Create a Temporary Settings Profile'
158158
},
159159
category: PROFILES_CATEGORY,
160160
f1: true,

0 commit comments

Comments
 (0)